目录
1、Remove of the Service Denied
4、authentication plugin 'caching_sha2_password'
前言
window10 系统 安装 MySQL 5.7.25 服务器 (zip形式),记录安装过程中遇到的问题。
Window 问题清单
1、Remove of the Service Denied
【问题描述】
mysql Install/Remove of the Service Denied! 问题
【解决方案】
打开cmd.exe程序的时候选择“用管理员身份打开” ,没有权限导致的
2、mysqld 命令不存在问题
【问题描述】
【解决方案】
3、遇到msvcr120.dll 问题
安装 vc++ 2013 (vcredist_x64.exe),即可解决问题。
4、authentication plugin 'caching_sha2_password'
【问题描述】
MySQL 连接出现 Authentication plugin 'caching_sha2_password' cannot be loaded
【解决方案】
- 先登录mysql
#修改加密规则
ALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER;
#更新一下用户的密码
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
#刷新权限
FLUSH PRIVILEGES;
具体参考图示例操作