Getting MySQL Running!

Tue, 06 June 2017

run.sh
# Remove error files
sudo rm /usr/local/mysql/data/*.err

# Kill running MySQL
ps -A | grep -m1 mysql | awk '{print $1}' | sudo xargs kill -9

# Restart MySQL:
/usr/local/mysql/support-files/mysql.server start