This problem gives me a headache because navicat15.0.26 does not support the newly added encryption method of mysql8.0, caching_sha2_Password, so we need to modify the user’s encryption method. First log in to MySQL,
mysql -uroot -p
This is my configuration information
Mysql 8.0.27 Navicat 15.0.26 tomcat 9.0.54 jdk 1.8.0.65
View encryption method:
show variables like 'default_authentication_plugin';
Log in to the database using the command-line client tool provided with MySQL database, and enter use mysql
Query the original authentication plug-in of MySQL user from the database user table
select user,host,plugin,authentication_string from user;
Replace the authentication plug-in used by the user with MySQL used in the previous version_ native_ password
ALTER USER 'root'@'localhost'IDENTIFIED WITH mysql_native_password BY'root';
Just use Navicat to connect again.
Similar Posts:
- [Solved] MYSQL ERROR 2059 (HY000): Authentication plugin ‘caching_sha2_password’ cannot be loaded: /usr/lib64/mysql/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory
- MySQL Connect Error: Authentication plugin ‘caching_sha2_password’ cannot be loaded
- [Solved] MYSQL Error: this authentication plugin is not supported
- MYSQL 8.0 Login Error: caching_sha2_password [How to Solve]
- [How to Solve] nodejs mysql ER_NOT_SUPPORTED_AUTH_MODE
- How to solve the error of PHP connection to mysql8
- [Solved] ER_NOT_SUPPORTED_AUTH_Mode node connection database error
- NodeJS Connect MYSQL Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client
- [Solved] Ubuntu mariadb root access denied after mysql_secure_installation