ERROR 1045: Access denied for user: root@localhost (Using password: NO)
程序员文章站
2023-11-25 14:18:10
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 password: NO)
-
MYSQL ERROR 1045 (28000): Access denied for user (using password: YES)问题的解决
-
连接本地数据库出现:1045 - Access denied for user 'root'@localhost'(using pass
-
ERROR 1045: Access denied for user: root@localhost (Using password: NO)
-
解决mysql ERROR 1045 (28000)-- Access denied for user问题
-
win10下MySQL 8.0登录Access denied for user‘root’@‘localhost’ (using password: YES)问题的解决方法
-
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)的解决