When connected to solve Navicat MySQL "Client does not support authentication protocol requested by server; consider upgrading MySQL client" problem

 

The reason: mysql server using version 8.0, password encryption method has changed, lower Navicat version can not fit encryption 8.0 mysql.

 

Three kinds of solutions:

1, download and install the latest version of Navicat

 

 

2, open the mysql built-in command line client, enter the password

The USER the ALTER ' root ' @ ' localhost ' IDENTIFIED BY ' ABCD ' PASSWORD EXPIRE NEVER; # modify the encryption method 

the ALTER the USER ' root ' @ ' localhost ' IDENTIFIED BY the WITH mysql_native_password ' ABCD '; # adaptation Navicat

FLUSH PRIVILEGES; # refresh the effect

User name, mysql server address, want to change the password for their own

 

 

3, using other database management tools, such as DataGrip

 

Guess you like

Origin www.cnblogs.com/chy18883701161/p/12458177.html