This is some explaination:
1) The issue is with 'max_allowed_packet' just increase the limit to 16M
Here are the steps to do that
- Go to xampp\mysql\bin
- Open my.ini
- Change "max_allowed_packet" from "1m" to "16m" (or larger)
- Save my.ini Now restart MySql through the XAMPP control panel
Note: But this one for development, what about live server?
* Source: https://www.drupal.org/node/1537488
2) "To solve this problem of Uncaught exception thrown in shutdown function, do the following:
Grant all mysql privileges to your database and the database user, it will work magic. Problem solved!
* Source: https://www.drupal.org/node/1308888