此问题在此处已有答案:
php mysqli_connect: authentication method unknown to the client [caching_sha2_password](17回答)
12天前关闭。
我试图在Wamp上运行一个旧的Laravel项目,并不断得到这些错误:
- Laravel 5.7
- PHP 7.1
- WampServer 3.3
In Connection.php line 664:
SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client (SQL: select * from informa
tion_schema.tables where table_schema = razi_oil-db and table_name = languages)
In Connector.php line 70:
SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client
In Connector.php line 70:
PDO::__construct(): The server requested authentication method unknown to the client [caching_sha2_password]
字符串
1条答案
按热度按时间jc3wubiy1#
最后,经过一周的尝试,我的朋友告诉我重新安装WampServer 3.3,但使用
MySQL version 5.7
,就是这样,对我有效,希望对你也有效在此之前,我尝试更改MySQL的根密码,更改my.ini文件等,但对我不起作用!