手机
当前位置:查字典教程网 >操作系统 >unix linux >ERROR 1045: Access denied for user: root@localhost (Using password: NO)
ERROR 1045: Access denied for user: root@localhost (Using password: NO)
摘要:ERROR1045:Accessdeniedforuser:’root@localhost’(Usingpasswo...

ERROR 1045: Access denied for user: ’root@localhost’ (Using password: NO)

为什么会出现这种情况呢?

呵呵,当你顺利安装mysql后.请先查看ps -aux有没有进程.然后你设置了密码.最后当你输入了mysql,出现这样情况吧,

当然了,当你设置了密码后,用的就不是默认密码了,mysql命令用的是默认密码,所以提示密码出错.

这时应该使用密码进入:mysql -u root -p 回车后提示输入密码.

如果还是提示出错,请参考本站相关文章,先前已经给出解决方案,这里就不再详细.

【ERROR 1045: Access denied for user: root@localhost (Using password: NO)】相关文章:

方便快捷—活用Linux操作系统的后台任务

linux whoami命令参数及用法详解(linux查看登陆用户名)

GD 编译出错解决方法

Linux日志式文件系统面面观

Linux下DNS服务器架设攻略 2

ERROR 1045 (28000): Access denied for user root@localhost (using password: NO)

Linux管理员手册(5)--引导和关机

Redhat局域网安装的解决办法

在Linux操作系统下防范黑客几个实用技巧

linux 2t快速分区过程介绍

精品推荐
分类导航