首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >将MySQL更新到8.0后,Laravel抛出QueryException

将MySQL更新到8.0后,Laravel抛出QueryException
EN

Stack Overflow用户
提问于 2018-06-04 01:39:41
回答 1查看 1.3K关注 0票数 0

将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]                                            
EN

回答 1

Stack Overflow用户

发布于 2019-05-22 01:15:44

在windows上,从任务管理器终止sqld,现在从XAMPP控制面板停止并重新启动MySQL。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/50669210

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档