Home  >  Q&A  >  body text

centos6.5 - mysql 连接10060

网上各种找资料 仙子愚昧没有解决问题

首先我用的是centOS6.5
lamp安装的是wdcp的RPM包安装
然后快速创建mysql数据库及用户

数据库也确实创建成功

然后使用Navicat连接

然后 执行连接测试

第一次玩云主机,弄这些东西,自己写程序测试的
希望细心大师直接解决我的问题贴出步局和代码

PHP中文网PHP中文网2743 days ago837

reply all(1)I'll reply

  • 大家讲道理

    大家讲道理2017-04-17 15:16:29

    1. The network is unavailable.
    Check whether the ping is successful.
    2. Firewall settings.
    Whether the firewall lets go of the mysql process and whether the 3306 port of mysql is blocked.
    3.mysql account settings.
    Whether the mysql account does not allow remote connections.

    Quoted from http://database.51cto.com/art/201107/274565.htm

    reply
    0
  • Cancelreply