[英]ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) during mysql installation
I have tried almost all related problems to this problem, but they all weren't working for me.我已经尝试了几乎所有与此问题相关的问题,但它们都不适合我。 It's my first time installing mysql onto my arch linux and it keeps asking me for root password as I don't have one.这是我第一次将 mysql 安装到我的 Arch linux 上,它一直要求我输入 root 密码,因为我没有。
It was happening because I wasn't running my terminal in root..发生这种情况是因为我没有在 root 中运行我的终端..
I changed to root user and run the command and everything worked我更改为root用户并运行命令,一切正常
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.