MySQL 2059
新装了mysql8.0后再用navicat链接就会报2059的错误。
8.0之后mysql更改了密码的加密规则,只要在命令窗口把加密方法改回去即可。
#其中单引号圈起的‘password’是你的数据库密码而不是字符password。 alter user root@localhost identified by 'password' password expire never; alter user root@localhost identified with mysql_native_password by 'password'; flush privileges;
