企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
SQLSTATE\[HY000\] \[2054\] The server requested authentication method unknown to the client 这是因为mysql8.0的默认密码加密验证是`caching_sha2_password` 而`PHP`尚不了解caching_sha2_password,请尝试`mysql_native_password`。 ``` # 旧版 ALTER USER 'root'@'localhost' IDENTIFIED BY ':mysql_vagrant_2020~'; > ALTER USER 'root'@'localhost' IDENTIFIED with mysql_native_password BY ':mysql_vagrant_2020~'; > FLUSH PRIVILEGES; ```