A very common and known issue of web developing is MySql shutdown unexpectedly error. There are few ways to fix it. But some of the error fixing ways are not effective to retrieve your data. Also, in some cases, you can  completely lose your data. 

There is an effective trick to fix your ‘MySql shutdown unexpectedly’   error without losing your data. You will be able to retrieve all of your tables of your Database without losing a single drop.    

References:

Read more about WordPress Coding Standards - https://make.wordpress.org/core/handbook/best-practices/coding-standards/