[英]phpMyAdmin, can not login to root user
I just went through setting up a LEMP stack on my server and I then installed phpMyAdmin.我刚刚在我的服务器上设置了一个 LEMP 堆栈,然后我安装了 phpMyAdmin。 It looks like I can not login due to the method the root user uses to connect.
由于 root 用户用于连接的方法,我似乎无法登录。
This is the warning I get while checking the status of the mysql service这是我在检查 mysql 服务状态时收到的警告
This is the error I receive on the phpMyAdmin webpage这是我在 phpMyAdmin 网页上收到的错误
I fixed the issue by executing我通过执行解决了这个问题
sudo mysql -u root
update user set plugin='' where User='root';
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.