Note: After downloading mysql8.0, the following problems occurred when connecting to Navicat
Solution:
The administrator runs the login database: mysql -u root -p enter the database password
enter:
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '123456';
flush privileges;