Ubuntu使用——13(phpmyadmin安裝完畢後打開報錯問題解決)

問題描述:php

mysqli_real_connect(): The server requested authentication method unknown to the client [caching_sha2_password]mysql

mysqli_real_connect(): (HY000/2054): The server requested authentication method unknown to the clientsql

使用配置文件中定義的控制用戶鏈接失敗。url

問題的解決:.net

進入/etc/phpmyadmin/目錄下,找到config-db.php文件修改裏面的$dbuser、$dbpass爲root和本身的密碼。server

在我認爲問題都已經解決了的時候,仍是有一個問題存在。blog

當我打開一個具體的表時,會彈出報錯:在服務上檢測到錯誤!請查看此窗口的底部get

參考博客:https://blog.csdn.net/Kinweini/article/details/83043163博客

問題解決!!!io

相關文章
相關標籤/搜索