Jump to content

Lost connection to MySQL server


Recommended Posts

Hello guys,

 

I'm trying to install WHMCS since this morning but I lose the connection to my database (OVH) every time.

 

Here some of the errors I got:

 

SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query (SQL: select * from `tblproducts` where `downloads` != and `downloads` != N;)

 

SQLSTATE[HY000]: General error: 2006 MySQL server has gone away (SQL: select count(*) as aggregate from `tblconfiguration` where `setting` = Version)

 

SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query (SQL: select column_name from information_schema.columns where table_schema = africatihost and table_name = tblproducts)

 

 

Any advices?

 

Thank you in advance.

Link to comment
Share on other sites

https://forum.whmcs.com/showthread.php?116698-Server-has-gone-Away&p=471622#post471622

 

This error means that your MySQL Server is closing the connection WHMCS is using. This is usually due to the timeout value being set too low to allow all the tasks to be completed.

You'd need to work with your server admin/hosting provider to increase the wait_timeout and perhaps also the max_allowed_packet values in the MySQL Configuration. Other values that might be causing this are the connectiontimeout in Apache or connTimeout in Litespeed.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated