(mysql.info.gz) RENAME USER
Info Catalog
(mysql.info.gz) GRANT
(mysql.info.gz) Account management SQL
(mysql.info.gz) SET PASSWORD
13.5.1.4 `RENAME USER' Syntax
.............................
RENAME USER OLD_USER TO NEW_USER
[, OLD_USER TO NEW_USER] ...
The `RENAME USER' statement renames existing MySQL accounts. To use
it, you must have the `GRANT OPTION' privilege for the `mysql'
database. An error occurs if any old account does not exist or any new
account exists. The OLD_USER and NEW_USER values are given the same
way as for the `GRANT' statement.
The `RENAME USER' statement was added in MySQL 5.0.2.
Info Catalog
(mysql.info.gz) GRANT
(mysql.info.gz) Account management SQL
(mysql.info.gz) SET PASSWORD
automatically generated byinfo2html