PHP错误:SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client

使用PHP链接MySQL 8的时候,可能会发生如标题所示的错误:php SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client 发生这种错误,是因为MySQL 8默认使用了新的密码验证插件:caching_sha2_password,而以前的PHP版本中所带的mysqlnd没法支
相关文章
相关标签/搜索