錯誤代碼: client does not support authentication
解決辦法:
1 使用命令行進入數據庫
2 選着數據庫 mysql --> user mysql
3 alter user 'root'@'localhost' identified with mysql_native_password by '123456';
4 flush privileges;
這樣就可以連接了
錯誤代碼: client does not support authentication
解決辦法:
1 使用命令行進入數據庫
2 選着數據庫 mysql --> user mysql
3 alter user 'root'@'localhost' identified with mysql_native_password by '123456';
4 flush privileges;
這樣就可以連接了
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。