2018年7月3日

安装MySQL时报Access denied for user 'root'@'localhost' 的解决方法

摘要: 在安装MySQL时,安装配置完准备通过mysql -u root -p登录时,报Access denied for user 'root'@'localhost' 错误,此时可以通过如下方法解决: 1.打开MySQL目录下的my.ini文件,在文件的最后添加一行“skip-grant-tables” 阅读全文
posted @ 2018-07-03 21:13 半島鐵盒 阅读(1750) 评论(0) 推荐(0)