更改密碼使用舊的方法
ALTER USER ‘root’@’localhost’ IDENTIFIED WITH mysql_native_password BY ‘password’;
設定MYSQL設定檔加入語法支援舊的密碼方法
[mysqld]
default_authentication_plugin=mysql_native_password
更改密碼使用舊的方法
ALTER USER ‘root’@’localhost’ IDENTIFIED WITH mysql_native_password BY ‘password’;
設定MYSQL設定檔加入語法支援舊的密碼方法
[mysqld]
default_authentication_plugin=mysql_native_password