Error 110 Help! #179


  • New
  • Defect
Open
Assigned to _ForgeUser4509640
  • _ForgeUser4535965 created this issue Mar 17, 2012

    What steps will reproduce the problem?
    using http://elysium-craft.info/WebInterface/login.php
    I get the following error

    Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 110 in /home/content/15/7657915/html/WebInterface/scripts/config.php on line 59
    Unable to connect to databaseLost connection to MySQL server at 'reading initial communication packet', system error: 110

    System error 110 is a connection timeout error.
    I am able to connect to the SQL database from home. The SQL server allows all connections provided the correct password. So I know that I can connect to it.

    My config.php is
    $db_host        = 'mc.elysium-craft.info:3306';
    $db_user        = 'username';
    $db_pass        = 'password';
    $db_database    = 'webauction';

    I have tried with and without the port number and by IP address, I get the same error every time.

  • _ForgeUser4535965 added the tags New Defect Mar 17, 2012
  • _ForgeUser4535965 posted a comment Mar 17, 2012

    I am able to telnet into mc.elysium-craft.info:3306 as well. Is there some website setting I am missing?

    THis is a server running centos 5

    I have SElinux dissabled and iptables turned off

    There is literally nothing that should or is blocking my connection proof being that I can telnet and login via SQL administrator

    what is going on!


    Edited Mar 17, 2012
  • lorenzo_p posted a comment Apr 8, 2012

    if you're connecting to a remote database, you have to add permission for that database user to accept connections from the ip of your other server.


To post a comment, please login or register a new account.