设为首页 加入收藏

TOP

修改mysql远程连接
2014-11-24 07:16:31 来源: 作者: 【 】 浏览:2
Tags:修改 mysql 远程 连接
--修改用户远程连接权限
update user set host = '%' where user = 'root';
select host, user from user;

--开启远程连接
grant all privileges on *.* to 'root' @'%' identified by 'root';
flush privileges;

注: mysql密码必须为root
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇解决远程连接mysql错误1130 下一篇oracle11g不能导出空表

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·Redis 分布式锁全解 (2025-12-25 17:19:51)
·SpringBoot 整合 Red (2025-12-25 17:19:48)
·MongoDB 索引 - 菜鸟 (2025-12-25 17:19:45)
·What Is Linux (2025-12-25 16:57:17)
·Linux小白必备:超全 (2025-12-25 16:57:14)