Ubuntu使用——13(phpmyadmin安装完毕后打开报错问题解决)

问题描述:

mysqli_real_connect(): The server requested authentication method unknown to the client [caching_sha2_password]

mysqli_real_connect(): (HY000/2054): The server requested authentication method unknown to the client

使用配置文件中定义的控制用户连接失败。

问题的解决:

进入/etc/phpmyadmin/目录下,找到config-db.php文件修改里面的$dbuser、$dbpass为root和自己的密码。

在我认为问题都已经解决了的时候,还是有一个问题存在。

当我打开一个具体的表时,会弹出报错:在服务上检测到错误!请查看此窗口的底部

参考博客:https://blog.csdn.net/Kinweini/article/details/83043163

问题解决!!!

原文地址:https://www.cnblogs.com/wangjianupc/p/10587178.html