InMotion Hosting Support Center

Error: Error establishing a database connection

Category: Databases

2013-01-15 12:32 am EST

Hits: 576
I would like to know what is happening with my website. About once an hour I get "Error establishing a database connection" and I get MANY people telling me that they are unable to get to my site on a regular basis. I am fairly new to web administration... Is this a performance issue with my hosting plan or wordpress?

You must login before you can ask a follow up question.

You must login before you can submit an answer.



43,761 Points
2013-01-15 9:48 am EST
Hello URmothra,

It is possible you are seeing this error intermittently due to the server load being a little high. When this happens, the MySQL service will limit the connections to the service to conserve resources. I do not see any load issues over the last 8 hours or so, however.

The best way to find out if server load is indeed the cause is to call or chat our live support during the time you are getting the error. Our technicians can then run tests against your account connections and the server load to see if that is indeed the cause of the error.

Best Regards,
Scott M

You must login before you can post a comment about this answer.

I'm having the same problem with my site,, off and on since I've been working on it today. So far, I'm the only one who has been visiting the site pages because I'm still building it, so if I'm having server load issues before anyone else even tries to access the site, we have a big problem. lol.

I've been reading on Wordpress forums that the problem is likely related to the db hostname. I have mine set as "localhost". Is there a better setting that would make this problem stop happening before my client checks out my progress?

Thank you!

11 Points
2013-03-25 10:33 pm EST
Like this Question?

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!