Mysql通过IP连接授权

来源:互联网 发布:登录无限极网络 编辑:程序博客网 时间:2024/06/05 00:21

可以使用Navicat登录管理员账户,新建一个用户并对用户授权,如下:

grant all privileges on *.* TO 'root'@'%' identified by 'root' with grant option;

flush privileges;


实例:

grant all privileges on *.* TO 'root'@'10.88.5.211' identified by 'root123456' with grant option;
FLUSH   PRIVILEGES;



原创粉丝点击