The following error is reported:
This error is because the existing Navicat client connection software does not support the newly added encryption method caching_sha2_password of Mysql8, so we need to modify the user's encryption method and change it to the old encryption verification method, such as mysql_native_password.
Solution:
Open the dos window as an administrator and connect to the mysql database
Check the current user encryption method:
select user,plugin from user where user='root';
Change the user's encryption method to mysql_native_password.
alter user 'root'@'localhost' identified with mysql_native_password by '123123';
Run the flush privileges command to make the privilege configuration items take effect immediately.
flush privileges;
Navicat tries to connect to Mysql again, the connection is successful