Navicat连接MySQL数据库时出现:1251-Client does not support authentication protocol requested by server;问题

Navicat连接MySQL数据库时出现问题:1251-Client does not support authentication protocol requested by server;consider uprading MySQL client 解决方案如下:
在启动MySQL数据库的情况下
以管理员身份打开cmd
输入mysql -u root -p
回车后输入数据库密码,
输入:ALTER USER ‘root’@‘localhost’ IDENTIFIED WITH mysql_native_password BY ‘******’; 这里******是自己的数据库密码,
再输入:FLUSH PRIVILEGES;
重新打开navicat,再次连接,即可成功
Navicat连接MySQL数据库时出现:1251-Client does not support authentication protocol requested by server;问题