Shell script `default/mysql-package-is-running'

Check if MySQL server is running

if ps aux | grep -v grep | grep mysql > /dev/null 2>&1; then echo 'running' else echo 'not running' fi