client does not support authentication

1、cmd窗口登陸mysql:mysql -u root -p 2、Enter password:輸入你設置過的數據庫密碼; 3、mysql> alter user ‘root’@‘localhost’ identified with mysql_native_password by ‘1234’; Query OK, 0 rows affected (0.07 sec) mysql> flush
相關文章
相關標籤/搜索