问题描述:php
mysqli_real_connect(): The server requested authentication method unknown to the client [caching_sha2_password]mysql
mysqli_real_connect(): (HY000/2054): The server requested authentication method unknown to the clientsql
使用配置文件中定义的控制用户链接失败。url
问题的解决:.net
进入/etc/phpmyadmin/目录下,找到config-db.php文件修改里面的$dbuser、$dbpass为root和本身的密码。server
在我认为问题都已经解决了的时候,仍是有一个问题存在。blog
当我打开一个具体的表时,会弹出报错:在服务上检测到错误!请查看此窗口的底部get
参考博客:https://blog.csdn.net/Kinweini/article/details/83043163博客
问题解决!!!io