原文:Mysql5.7 CentOS7 报错:ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

环境 Mysql . . CenOS . . 解决方案: 第一步: systemctl stop mysqld.service 关闭mysql服务 第二步: vim etc my.cnf 打开mysql配置文件 第三步: 最后面加入 skip grant tables 第四步: systemctl start mysqld.service 打开MySQL服务 第四步: mysq hlocal ur ...

2019-01-22 12:41 0 1171 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM