一、问题描述,如下图:
二、 分析问题
三、解决步骤
- 点击左下角,打开命令行窗口command line client
- alter user 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '你想设置的密码';
- FLUSH PRIVILEGES;
- 重新连接就可以了。
如下图:
navicat 连接 mysql 出现1251Client does not support authentication protocol requested by server的解决方案