Month: April 2017

Shell script to restart MySQL automatically when it shuts down.

A dirty hack but essential at times, MySQL server consumes higher memory if not configured correctly and due to which the MySQL service is terminated by the OS to save itself from crashing under high traffic. A simple shell script can be used to restart MySQL service when it terminated. View the code on Gist. …

Shell script to restart MySQL automatically when it shuts down. Read More »