首先是安装window版本的msyql,想着安装zip绿色版本,但是 网络下载不下来,从同事那里拷过来一个安装版本的。
mysql-installer-community-8.0.17.0.msi
一步一步的安装就可以了,密码我直接设置的123456 ,然后我们连接到数据库开始操作了。
当用navicat连接数据库的时候,出现了 Client does not support authentication protocol requested by server 错误。
1、use mysql;
2、alter user 'root'@'localhost' identified with mysql_native_password by '********';
3、flush privileges;
之后navicat连接成功