mysql允许远程连接

GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123' WITH GRANT OPTION;

原文地址:https://www.cnblogs.com/xingmeng/p/3723545.html