mysql 权限控制

允许root远程ip访问

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

原文地址:https://www.cnblogs.com/rsapaper/p/8533516.html