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版本中所帶的mysqln
相關文章
相關標籤/搜索