远程连接MySql分配ip权限

mysql -uroot -p密码

grant all privileges on *.* to 'IP地址' identified by '密码' with grant option;

flush privileges;

原文地址:https://www.cnblogs.com/duneF/p/7814098.html