将MySQL升级到8.0版后,任何迁移数据库的尝试都会抛出指示unknown authenticaion method
的异常
[Illuminate\Database\QueryException]
SQLSTATE[HY000] [2054] The server requested authentication method unknown t
o the client (SQL: select * from information_schema.tables where table_sche
ma = wiki and table_name = migrations)
[PDOException]
SQLSTATE[HY000] [2054] The server requested authentication method unknown t
o the client
[PDOException]
PDO::__construct(): The server requested authentication method unknown to t
he client [caching_sha2_password]
发布于 2019-05-22 01:15:44
在windows上,从任务管理器终止sqld,现在从XAMPP控制面板停止并重新启动MySQL。
https://stackoverflow.com/questions/50669210
复制相似问题