+ Reply to Thread
Results 1 to 8 of 8

Thread: Lost connection to MySQL

  1. #1
    Join Date
    Apr 2006
    Posts
    4

    Default Lost connection to MySQL

    Hello,
    My site have porblem with connection to MySQL
    I put my all .php files on box190 and put my databases on box175. In some days recent, my site have problem with connection to MySQL. It show errors: "mysql error: Lost connection to MySQL server during query
    mysql error number: 2013" . The day before , it work good.

    Anybody can help me.
    Thanks

  2. #2
    Join Date
    Feb 2006
    Location
    Somewhere where I don't know where I am
    Posts
    2,155

    Default

    you probably shouldn't split your php and mysql like that. you should keep them together
    Sign Up Now!
    Unlimited Storage, Unlimited Transfer, Host Unlimited domain names, 1 Free Domain Name
    BlueHost Features | BlueHost Help Desk | Become a BlueHost Affiliate | BlueHost CEO Blog
    (888) 401-4678 | Create a support ticket

  3. #3
    Join Date
    Apr 2006
    Posts
    4

    Default

    There are some reason , I have to split php scripts and database
    My site worked good for a long time. But from yesterday, It cannot connect to MySQL. Can you give me reason for the problem?
    Thanks

  4. #4
    Join Date
    Jul 2006
    Location
    Portland, OR
    Posts
    279

    Default

    Quote Originally Posted by tonyle
    Can you give me reason for the problem?
    I suspect that someone tweaked the firewall script so that it blocks access to the database from other BlueHost servers. It would make sense generally to not allow scripts on one server to connect to a database on another for security purposes.

    I have read that if you want to be able to access a mySQL database from offsite BlueHost needs to add your IP address to a list of those permitted to access the database from the outside.

    I would suggest a call to customer support or open a ticket.

  5. #5
    Join Date
    Apr 2006
    Posts
    4

    Default

    I've opened ticket and bluehost added my IPs in "MySQL Whitelisted IPs" but it cannot still connect to mySQL. Anybody can help me.
    Thanks

  6. #6
    Join Date
    Aug 2006
    Location
    Richmond, VA
    Posts
    4

    Default

    I've also been having trouble with "Lost connection to MySQL server during query" errors while connecting to a database on bluehost from outside the server, which is causing a lot of data loss. Any info on the problem?

  7. #7

    Default

    There's been mysql instability all week. Up and down. No explanation prooffered yet.

  8. #8
    Join Date
    Feb 2007
    Location
    Texas
    Posts
    1

    Default

    Mine keeps dropping as well and I finally decided to open a ticket with BlueHost about it.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts