mysql怎么限制ip访问

grant all privileges on *.* to 'root'@'ip'identified by '密码'; #授权某个ip的用户可以通过密码访问数据库
posted @ 2019-03-27 11:45  噼里巴啦  阅读(4378)  评论(0编辑  收藏  举报