ERROR 1045: Access denied for user: 'root@localhost'

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
菜鸟磊子
帖子: 2
注册时间: 2013-03-25 21:02
系统: linux

ERROR 1045: Access denied for user: 'root@localhost'

#1

帖子 菜鸟磊子 » 2013-03-25 21:17

我用ROOT登陆Mysql之后,利用GRANT ALL PRIVILEGES ON *.* TO cd@localhost IDENTIFIED BY "654321";来创建cd用户,然后赋予权限。可是出现ERROR 1045: Access denied for user: 'root@localhost' (Using password: YES)
为什么呢?请教高手,网上一直在搜答案,搜了好几天了都不行。。
菜鸟磊子
帖子: 2
注册时间: 2013-03-25 21:02
系统: linux

Re: ERROR 1045: Access denied for user: 'root@localhost'

#2

帖子 菜鸟磊子 » 2013-03-25 21:39

:em20 求帮忙。
badboy2319
帖子: 7
注册时间: 2013-02-04 10:38
系统: ubuntu 12.04

Re: ERROR 1045: Access denied for user: 'root@localhost'

#3

帖子 badboy2319 » 2013-03-27 16:06

mysql -uroot -p密码 (空口令不需要输入)回车在试试
hooluu
帖子: 19
注册时间: 2009-03-29 11:39
系统: ubuntu 12.04 64bt

Re: ERROR 1045: Access denied for user: 'root@localhost'

#4

帖子 hooluu » 2013-04-04 23:02

可以看看这篇文章,我在配置ubuntu 服务器的时候也出现了这个问题,搜到这个文章解决的
http://www.dn59.com/linux/server/2013/0 ... 28000.html
头像
aca
帖子: 129
注册时间: 2007-04-22 13:23

Re: ERROR 1045: Access denied for user: 'root@localhost'

#5

帖子 aca » 2013-04-13 12:12

1045: Access denied for user: 'root@localhost' (Using password: YES)

说明了一切
想象你在身边
回复