InMotion Hosting Support Center

Drupal clear all cache error

Category: Drupal 7

n/a Points
2014-09-24 5:17 am EST

Hits: 150
Hi, when I try to clear all cache in my Drupal website I receive this error: Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away' in...

Then, when I try to visit the site again all is ok...
How can I solve this problem?

Here my php.ini settings:
max_execution_time = 300
max_input_time = 60
memory_limit = 550M

I red something about "max_allowed_packet=..." but I don't know where changing this value.

Thank you very mouch

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

You must login before you can submit an answer.



43,761 Points
2014-09-24 9:31 am EST
Hello Marcello,

If that is indeed the fix, the setting is located in the my.cnf file. You would need root access in order to change make any changes, however we can also do that for you if needed. Simply contact our Live Support team, as you will need to verify the account in order to have them change it.

Kindest Regards,
Scott M

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

Like this Question?

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

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!