mysql連線錯誤問題處理

2021-10-05 16:07:11 字數 436 閱讀 6431

錯誤如下

mysql client does not support authentication protocol requested by server; consider upgrading mysql
從網上查了一下原因:原來mysql8 之前的版本中加密規則是mysql_native_password,而在mysql8之後,加密規則是caching_sha2_password,兩種有何差異大家可以去了解一下。

下面提供解決方式

#更新一下使用者的密碼 

alter user 'root'@'localhost' identified with mysql_native_password by 'password';

#重新整理許可權

flush privileges;

mysql 錯誤問題 mysql連線錯誤問題

error 1130 host 192.168.1.3 is not allowed to connect to this mysql server 解決方法 1。改表法。可能是你的帳號不允許從遠端登陸,只能在localhost。這個時候只要在localhost的那台電腦,登入mysql後,更改 m...

Mysql連線錯誤過多的問題處理

1.mysql連線錯誤太多 sequelizeconnectionerror host xx.xx.xx.xx is blocked because of many connection errors unblock with mysqladmin flush hosts 檢視最大錯誤連線數 mys...

mysql連線錯誤問題

error 1130 host 192.168.1.3 is not allowed to connect to this mysql server 解決方法 1。改表法。可能是你的帳號不允許從遠端登陸,只能在localhost。這個時候只要在localhost的那台電腦,登入mysql後,更改 m...