mysql>use mysql;
mysql>update user set host ="%" where user = "root";
mysql>select host, user from user;
mysql>FLUSH PRIVILEGES;
问题处理:
Lost connection to MySQL server at ‘reading authorization packet’,system error:0 “Internal error/check (Not system error)”
处理:在mysql配置文件中[mysqld]下增加配置:connect_timeout = 60