mysql中grants小记

安装mycheckpoint的时候,给这个监控用户分权限的时候,发现了这个秘密:

mysql>
mysql
> GRANT ALL PRIVILEGES ON mycheckpoint.* TO 'mycheckpoint_user'@'localhost' IDENTIFIED BY '123456';
ERROR
1470 (HY000): String 'mycheckpoint_user' is too long for user name (should be no longer than 16)
mysql
>

posted @ 2011-04-30 08:16  sunss  阅读(555)  评论(0编辑  收藏  举报