InMotion Hosting Support Center

Database connection error (2): Could not connect to MySQL

Category: Website

2013-09-13 8:41 am EST

Hits: 21,247
Now, my website www.**************.org can't open again. it is show me:
Database connection error (2): Could not connect to MySQL.
I don't know why my website sometimes OK, some times can't open.
Please help me check and restore it

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

You must login before you can submit an answer.



30,503 Points
2013-09-13 10:30 am EST
Hello newsch5,

Thank you for your error connecting to mysql question. If you are getting database connection errors, this means means that a program running on your site is not able to communicate with the MySQL database service to retrieve data. There are two main reasons for getting this error, either the program itself is not connecting properly due to login credentials mismatch from the program's configuration files, or the MySQL service is currently not running on the server.

I recommend reading our article on database connection errors, which provides more information on troubleshooting this issue.

We work for the Customer Community, if you want to submit a request with support, you would have to contact Live Tech Support.

If you have any further questions, feel free to post them below.
Thank you,


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


I receive your letter, can you repair the error, I can pay you money. because my website hasn't the error before two days ago. reply me, to *******
18 Points
2013-09-13 11:43 am EST
Hello Newsch5,

Sorry to hear about your MySQL database access issues. Your website does appear to be working. Also,the support ticket that you submitted has been processed and action has been taken as a courtesy. Please continue to monitor this issue through the support ticket as they are monitoring the site for issues with your database.

Thanks for your patience! Please let us know if you have any further questions or comments.

Arnel C.
40,770 Points
2013-09-13 3:26 pm EST
Like this Question?

Support Center Login

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

Social Media Login

Social Login Joomla

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!