1、mysql server安裝完畢,遠程登錄不上 1130錯誤
mysql -u用戶名 -p密碼
mysql>use mysql;
mysql>update user set host = '%' where user = 'root';
mysql>flush privileges;
2、navicat 登錄 caching_sha2_password can not be loaded
mysql>alter user 'root'@'localhost' identified with mysql_native_password by 'password';
mysql>flush privileges;