IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    centOS6.8 mysql 外网访问的问题.

    LowLoop发表于 2017-05-27 10:13:20
    love 0

    服务器是centOS 6.8, 我本机是用的 Navicat Premuim工具链接数据库 1.我在服务器上.mysql.user表里新建个用户后,使用: mysql>grant all on test.* to myUserName@’%’ identified by ‘123456’; mysql>flush privileges; 这种方式, 连接失败. 2.开放服务器3306端口: iptables -A INPUT -p tcp --dport 3306 -j ACCEPT iptables -A OUTPUT -p tcp --sport 3306 -j ACCEPT service iptables save 这种方式,连接失败.

    请问老哥们, 是我用的方法有问题.还是怎的? 麻烦了!



沪ICP备19023445号-2号
友情链接