mysql添加远程权限

mysql -u root -p
grant all privileges  on *.* to root@'%' identified by "password";
flush privileges;
原文地址:https://www.cnblogs.com/iitrust/p/12316057.html