MySQL 8.0 Reference Manual Including MySQL NDB Cluster 8.0
ALTER SERVERserver_nameOPTIONS (option[,option] ...)
Alters the server information for
,
adjusting any of the options permitted in the
server_nameCREATE SERVER statement. The
corresponding fields in the mysql.servers table
are updated accordingly. This statement requires the
SUPER privilege.
For example, to update the USER option:
ALTER SERVER s OPTIONS (USER 'sally');
ALTER SERVER causes an implicit commit. See
Section 15.3.3, “Statements That Cause an Implicit Commit”.
ALTER SERVER is not written to the binary log,
regardless of the logging format that is in use.