RENAME USER old_user TO new_user [, old_user TO new_user] ...
ERROR 1396 (HY000)。如果出现错误，则
RENAME USER 仍会重命名不会出错的帐户。
CREATE USER 'donald', 'mickey'; RENAME USER 'donald' TO 'duck'@'localhost', 'mickey' TO 'mouse'@'localhost';
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.