mysql授权用户root使用密码password从指定ip为192.168.1.1的主机连接到mysql服务器
进入mysql表中
use mysql;
mysql授权使用密码password从指定ip为192.168.1.1的主机连接到mysql服务器
grant all privileges on *.* to 'root'@'192.168.1.1' identified by 'password' with grant option;
刷新权限
flush privileges;
原创
2015-09-26 12:44:56 ·
2207 阅读 ·
0 评论