InMotion Hosting Support Center

An unexpected database error occurred. Please try again later.

Category: Databases

2013-10-13 2:35 am EST

Hits: 4,279
I'm getting this error, and a total disconnect from my sql server. Can someone lead me in the right direction? I'm running xenforo, and when new users try to register they receive the error below.

An unexpected database error occurred. Please try again later.
<!-- Mysqli prepare error: MySQL server has gone away -->

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

You must login before you can submit an answer.



9,968 Points
2013-10-13 8:11 am EST
Hello kavaforums, and thanks for your question.

Is this database connection problem happening for you all the time, or only intermittently? If so about how often does it appear to be affecting your visitors?

At the moment right now I've been unable to replicate this error on your website. I also noticed you appear to have cometchat on your forum as well. You might be having high usage from chat software that could be tying up all of your account's MySQL database connections.

There could have also possibly been a temporary issue with the MySQL server on your server, but I'm not seeing many errors in the logs. If these issues persist, please give us a time-range in which these problems are happening for you so that we can attempt to better pin-point if there are possibly any issues server-side.

- Jacob

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

It's happening consistently. Every single time a user submits their registration form it gives the above error. I just checked and it's still appearing. The comet chat app is actually being hosted off site so impact should be less than normal for if.
11 Points
2013-10-13 11:02 am EST
Belay that. We're running. Must have been a temporary SQL issue.
11 Points
2013-10-13 12:09 pm EST
Hello kavaforums,

Glad to hear that it started working again for you. If you continue to experience any further issues please keep track of the times it's happening, and we'll try to investigate it for you if there are any ongoing server related problems.

- Jacob
9,968 Points
2013-10-14 11:09 am EST
Like this Question?

Support Center Login

Our Login page has moved. Please click the button below to be redirected 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!