Jump to content

MySQL has gone away error


BeyondLogics

Recommended Posts

Hello,

 

I'm trying to install WHMCS v6 but i get this error when i try to install it.

 

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

 

Does anyone know how to fix this problem?

Link to comment
Share on other sites

yeah i figured that, but are you using a fresh new database ? or are you trying to use an old database?

 

if its new i'd chalk it up to a shonky install and try again from scratch, if not and your trying to use an old database, well there are a few changes that i was trying to point out previously in another post.

 

i'd give it another reinstall and see how that goes.

 

 

Cain

Link to comment
Share on other sites

yeah i figured that, but are you using a fresh new database ? or are you trying to use an old database?

 

if its new i'd chalk it up to a shonky install and try again from scratch, if not and your trying to use an old database, well there are a few changes that i was trying to point out previously in another post.

 

i'd give it another reinstall and see how that goes.

 

 

Cain

 

Fresh install and also a fresh database, I've already tried it two times.

Link to comment
Share on other sites

By default, MySQL configuration max_allowed_packet is set it to 16M. This settings may introduce this exception in your website..

 

Solution:

To resolve that problem you need to increase max_allowed_packet variable in MySQL. Add following line in my.ini

 

max_allowed_packet=200M

 

OR have your server host do it for you.

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