ALTER SERVER
Syntax
ALTER SERVER server_name
OPTIONS (option [, option] ...)
Description
Alters the server information for server_name, adjusting the specified options as per the CREATE SERVER command. The corresponding fields in the mysql.servers table are updated accordingly. This statement requires the SUPER privilege or, from MariaDB 10.5.2, the FEDERATED ADMIN privilege.
ALTER SERVER is not written to the binary log, irrespective of the binary log format being used. From MariaDB 10.1.13, Galera replicates the CREATE SERVER, ALTER SERVER and DROP SERVER statements.
Examples
ALTER SERVER s OPTIONS (USER 'sally');
See Also
This page is licensed: GPLv2, originally from fill_help_tables.sql
Last updated
Was this helpful?