Maison > Article > base de données > mysql中grants小记_MySQL
安装mycheckpoint的时候,给这个监控用户分权限的时候,发现了这个秘密:
mysql> <br>mysql> GRANT ALL PRIVILEGES ON mycheckpoint.* TO 'mycheckpoint_user'@'localhost' IDENTIFIED BY '123456'; <br>ERROR 1470 (HY000): String 'mycheckpoint_user' is too long for user name (should be no longer than 16)<br>mysql>