ERROR 1045: Access denied for user: root@localhost (Using password: NO)
程序员文章站
2022-10-14 23:22:56
ERROR 1045: Access denied for user: ’root@localhost’ (Using password: NO)
为什么会出现这种情况呢?
呵呵,当你顺利安装mysql后.请先查看ps -aux有没有进程.然后你... 09-03-10...
error 1045: access denied for user: (using password: no)
为什么会出现这种情况呢?
呵呵,当你顺利安装mysql后.请先查看ps -aux有没有进程.然后你设置了密码.最后当你输入了mysql,出现这样情况吧,
当然了,当你设置了密码后,用的就不是默认密码了,mysql命令用的是默认密码,所以提示密码出错.
这时应该使用密码进入:mysql -u root -p 回车后提示输入密码.
如果还是提示出错,请参考本站相关文章,先前已经给出解决方案,这里就不再详细.
为什么会出现这种情况呢?
呵呵,当你顺利安装mysql后.请先查看ps -aux有没有进程.然后你设置了密码.最后当你输入了mysql,出现这样情况吧,
当然了,当你设置了密码后,用的就不是默认密码了,mysql命令用的是默认密码,所以提示密码出错.
这时应该使用密码进入:mysql -u root -p 回车后提示输入密码.
如果还是提示出错,请参考本站相关文章,先前已经给出解决方案,这里就不再详细.
下一篇: 电饼铛食谱大全你知道多少
推荐阅读
-
ERROR 1045 (28000): Access denied for user ''root''@''localhost'' (using passwor
-
Linux连接mysql报错:Access denied for user ‘root’@‘localhost’(using password: YES)的解决
-
MySQL密码正确却无法本地登录-1045 Access denied for user 'root'@'localhost' (using password:YES
-
Linux连接mysql报错:Access denied for user ‘root’@‘localhost’(using password: YES)的解决
-
ERROR 1045 (28000): Access denied for user ''root''@''localhost'' (using passwor
-
java访问数据库被拒绝,不能连接数据库ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
-
Linux连接mysql报错:Access denied for user ‘root’@‘localhost’(using password: YES)的解决方法
-
ERROR 1045 (28000): Access denied for user ''root''@''localhost'' (using password: YES)实用解决方案
-
ERROR 1045 (28000): Access denied for user root@localhost (using password: NO)
-
连接本地数据库出现:1045 - Access denied for user 'root'@localhost'(using pass