mysql允许某ip访问

grant all on *.* to databaseName@'ipAddress' identified by 'somePassword';

flush privileges;
原文地址:https://www.cnblogs.com/white-knight/p/8649629.html