mysql 允许远程IP连接

需要管理员权限执行以下内容:

GRANT ALL PRIVILEGES ON *.* TO 'MysqlUserName'@'%' IDENTIFIED BY "MysqlPassword";

GRANT ALL PRIVILEGES ON *.* TO 'MysqlUserName'@'YourIP' IDENTIFIED BY "MysqlPassword";

posted @ 2020-12-10 18:03  aaron_agu  阅读(129)  评论(0编辑  收藏  举报