代码改变生活

解决远程连接mysql错误1130代码的方法

命令行登陆
mysql -uroot -p
输入密码后登陆
use mysql;
 
select host,user from user ; 
 
 grant all
on *.*
to root identified by '123456'
with grant option;

flush privileges;
 
搞定!

posted on 2016-04-22 17:12  张大少。  阅读(312)  评论(0编辑  收藏  举报

导航

繁星纵变 智慧永恒