Can't connect to MySQL server

Discussion in 'H-Sphere Shared Hosting' started by binaryfish, Apr 17, 2009.

  1. binaryfish

    binaryfish Perch

    Hi

    I sometimes get an error message from vBulletin with the following message:

    mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to MySQL server on 'mysql2.g********.com' (10054)

    I opened a support ticket but Support wants me to reproduce the steps which I can't as the problem is intermittent and is caused by visitors viewing my forum.

    Anyone know how to fix this? On my last 2 Web hosts I never had this problem so I don't think it is a vBulletin problem.

    Thanks

    Gavin
  2. Stephen

    Stephen US Operations Staff Member

    This can happen for a few reasons, one is too many connections open, another is if using a pconnect (persistent connection) but it doesn't look to me that you are there.
  3. binaryfish

    binaryfish Perch

    My Web site does not get very many visitors. I'm on a shared Windows server, maybe the server is overloaded?

    I'm just using the standard vBulletin settings which should be the same as this forum.
  4. Stephen

    Stephen US Operations Staff Member

    ooohhhh on a windows server, no it isn't overloaded but it can be due to the php cgi processes, they are much slower than on their linux counterparts.

Share This Page

JodoHost - 26,000 hosting end-users in 100 countries
Plesk Web Hosting
VPS Hosting
H-Sphere Web Hosting
Other Services