mysql Laravel SQLSTATE[HY000] [2054]服务器请求的身份验证方法对客户端未知[重复]

cetgtptt  于 2023-08-02  发布在  Mysql
关注(0)|答案(1)|浏览(121)

此问题在此处已有答案

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]

字符串

jc3wubiy

jc3wubiy1#

最后,经过一周的尝试,我的朋友告诉我重新安装WampServer 3.3,但使用MySQL version 5.7,就是这样,对我有效,希望对你也有效
在此之前,我尝试更改MySQL的根密码,更改my.ini文件等,但对我不起作用!

相关问题