mysql开启远程连接权限

use  mysql;
update  user  set  host  =  '%'  where  user  =  'root';

原文地址:https://www.cnblogs.com/codedoge/p/10218699.html