Was disconnected from website don'tknow why.


DanLewisSales
Asked:
2012-10-12 2:05 pm EST

Hits: 1,165
Working in website, was disconnected. Message said "Error in connecting to database" or something close to that, what happened?

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

You must login before you can submit an answer.

OTHER ANSWERS

0

JacobIMH
Staff
9,521 Points
2012-10-12 2:17 pm EST
Hello Dan, and thanks for your question. Unfortunately without knowing your account name or domain name we'd be unable to tell you the exact cause of this problem.

Typically when you get an "Error in connecting to database", this means that you might have filled up your maximum amount of connections to the database temporarily. Or possibly changed your application's database configuration settings to something invalid, and now it can't connect.

If you feel comfortable responding back to this public community support center with your domain name we can take a look for you. Alternatively typically for these type of issues, contacting our support staff to ensure there hasn't been a temporary issue on your server, or so they can pull up your account and review the errors you're encountering is the best way. You can give them a call at the number listed at the top of our site, or start up a chat to relay your problems.

Or in order to submit a ticket, please shoot an e-mail to (support@inmotionhosting.com) being sure to include your username, and the original cPanel password of your account or the last 4 digits of the credit card on file for verification. Or you can submit a ticket directly through our support interface here:

Submit a support ticket

Hope this helps point you in the right direction. Please let us know if you have any further questions.

- Jacob

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

0

jamesr
Staff
5,889 Points
2012-10-12 2:26 pm EST
Thank you for your Question DanLewisSales!

When you get intermittent "Error in connecting to database" errors on your site, typically it is caused by an issue with the MySQL service on the server. If you see this happen you can contact support at 1-888-321-4678 ext 2 or chat with a support tech for a server update. There may be an issue with the server that needs to be addresses by our systems administrator or our systems support may be working on the server.

If the error is not intermittent and the site continues to throw the error, you may have mistakenly removed or changed the MySQL connect script for the website to work. Depending on what program the site was created with will depend on where the MySQL connection script is located. Find the connection script php file and double check the setting in there to see if they match what is in the MySQL databases in cpanel. Please see the following article on "Connecting to a Database using PHP".

http://www.inmotionhosting.com/support/website/databases/connecting-to-a-database-using-php

Best Regards

James R

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

Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

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: support@InMotionHosting.com
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!