首页 > 技术文章 > mysql怎么限制ip访问

xiaozx 2019-03-27 11:45 原文

grant all privileges on *.* to 'root'@'ip'identified by '密码'; #授权某个ip的用户可以通过密码访问数据库

推荐阅读