首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

grant 用法的纠结 帮帮忙解决思路

2012-03-31 
grant 用法的纠结帮帮忙mysql中新增一个用户lfb给新用户增加操作权限grant all privileges on *.* to lfb@

grant 用法的纠结 帮帮忙
mysql 中新增一个用户lfb 给新用户增加操作权限

grant all privileges on *.* to lfb@'%';

有错误,提示:ERROR 1045 (28000): Access denied for user 'lfb555'@'%' (using password: YES)
望高手指点!

[解决办法]
用root用户登陆mysql执行

grant all privileges on *.* to 'lfb'@'%' identified by 'password';
flush privileges;

热点排行