月光代碼園

記錄、分享、交流

导航

mysql无法登录

很久没用root账户登录mysql发现无法登录

以为root密码被修改

修改root密码后还是无法登录

判断ip没权限

运行

Grant all privileges on *.* to 'root'@'%' identified by 'password' with grant option;

 

解决

posted on 2016-11-17 16:02  bangdikka  阅读(149)  评论(0编辑  收藏  举报