mysql怎么限制ip访问时间:2022-09-20 03:34:35 grant all privileges on *.* to 'root'@'ip'identified by '密码'; #授权某个ip的用户可以通过密码访问数据库