Hi Friends, Sometimes Magento Stores take a long time to open. And sometime it exceeds to “SQLSTATE[HY000]  MySQL server has gone away”. That is due to so many queries executing during process which slows down website. That is due to heavy database due to quarantine which make database heavy and slows down a Magento store.
Now the thing is what needs to remove that quarantine. Here are some steps to follow. Following these steps will remove garbage from database & make site work smooth.
Go to cPanel
Select your Database from Left Sidebar
Select SQL Tab from Top
Pase SQL Query given below in white box
SET foreign_key_checks = 0;
SET foreign_key_checks = 1;
& then Click Go
It will clean all the tables that contains unnecessary data & makes database heavy & slows down Magento Store Performance.