mysql学习笔记--遇到的坑
一、navcat 连接不支持密码输入
1. 先通过命令行进去mysql的root账户
mysql -uroot -p'password'
2. 更改加密方式
alter user 'root'@'localhost' identified by 'password' password expire never;
3. 更改密码
alter user 'root'F@'localhost' identified with mysql_native_password by 'password';
4. 刷新
flush privileges;