简体   繁体   English

Arch Linux安装mysql访问被拒绝错误

[英]Arch linux install mysql access denied error

After this command: 执行此命令后:

mysql_secure_installation

I recieve this error: 我收到此错误:

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

How can I fix it? 我该如何解决?

To address this, you'll want to reset your mysql root password: 为了解决这个问题,您需要重设mysql的root密码:

https://askubuntu.com/questions/156280/1045-cannot-log-in-to-the-mysql-server https://askubuntu.com/questions/156280/1045-cannot-log-in-to-the-mysql-server

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM