- 论坛徽章:
- 0
|
本帖最后由 joeguan2 于 2011-04-15 08:27 编辑
平台:windows xp,
mysql 版本:mysql 5.5.11
用root创建michael帐户,michael具有全部权限
c:\>mysql -hlocalhost -uroot -p
mysql>grant all privileges on *.* to 'michael'@'localhost' identified by 'passwd';
再用michael创建bill就不行了,
c:\>mysql -hlocalhost -umichael -p
mysql>grant all privileges on *.* to 'bill'@'localhost' identified by 'passwd';
结果错误:ERROR 1045 (28000): Access denied for user 'michael'@'localhost' (using password: YES)
这是为什么呢?
还是只能用root账户创建用户?
谢谢
*** 上述红色字体为笔误更正 *** |
|