iT邦幫忙

0

Mysql - The server requested authentication method unknown to the client

  • 分享至 

  • xImage

linux環境:php5.6 mysql8.0
連線時候apache error log:The server requested authentication method unknown to the client
測試切換php版本到php8.1後可正常連線。
有參考網路方式將原本認證sha256_password改為mysql_native_password,但仍顯示一樣錯誤😭

望空 iT邦新手 3 級 ‧ 2023-09-06 14:06:18 檢舉
有沒有確定PHP5.6是否能支援mysql8.0...?
PHP5.6這版本很舊了
或是看看是不是編碼問題 :
https://janelin612.github.io/2018/08/16/php5-and-mysql8.html
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友回答

立即登入回答