2017-04-20
1、***in>MySQL -h localhost -u root -p 这样应该可以进入MySQL服务器 执行代码如下:
MySQL>use mysql; MySQL>update user set host = '%' where user = 'root'; MySQL>select host, user from user;
2、MySQL>FLUSH PRIVILEGES; 修改生效
3、MySQL>EXIT