When you install mysql database when the choice is encrypted password when connecting with navicat time error 1521, this time landing mysql execute the following code after it can cmd
Code:
mysql> alter user root@localhost identified by 'root' password expire never;
mysql> alter user root@localhost identified with mysql_native_password by 'root' ;
mysql> flush privileges;//刷新权限