InMotion Hosting Support Center

Database connection fails after writing a post

2013-07-17 4:40 pm EST

Hits: 843
My website just started displaying this error.
Error Establishing a database connection

It was working fine, I was actually in the middle of making a post, when I went to save the draft, it failed to connect.

Can you help me fix it?

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

You must login before you can submit an answer.

Now it appears to be partially back.
13 Points
2013-07-17 04:40 pm EST
It seems to be working now. Was there a short problem with the server?
13 Points
2013-07-17 04:41 pm EST
And now it's back to the same error.
13 Points
2013-07-17 04:46 pm EST



42,519 Points
2013-07-17 5:27 pm EST
Hello KristenH,

I'm sorry to hear about your database connection errors. Your database connection works through a different port than your internet connection, so while it might appear to be a server issue, it's also possible that something's happening on the network that's causing issues with the connection via the port to your database (by default it's typically 3306 for SQL).

I checked your website and everything was working fine. Just to make sure that everything was okay on the database, I also ran the check/repair service that you can run in MySQL in cPanel. This also checked out okay. We connect in the same manner as you do when connecting to the website and database so as far as we can tell it's normal - at this time.

If you continue to have periodic problems connecting, review the instructions in this article to check your MySQL connection.

If you require any further assistance, please let us know!

Arnel C.

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

Like this Question?

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!