相关疑难解决方法(0)

MySQL 8.0上的phpMyAdmin

我已经安装了MySQL 8.0服务器和phpMyAdmin,但是当我尝试从浏览器访问它时,会发生以下错误:

#2054 - The server requested authentication method unknown to the client
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
Run Code Online (Sandbox Code Playgroud)

我想它必须与实施的强密码和MySQL版本的相对新鲜度有关.

但我对最先进的驱动程序和连接配置一无所知.

有人遇到同样的问题并解决了吗?:d


使用apt安装编辑

apt-get install mysql-server phpmyadmin
Run Code Online (Sandbox Code Playgroud)

mysql database-connection phpmyadmin mysql-8.0

54
推荐指数
11
解决办法
11万
查看次数