I am having an issue where MySQL isn\'t starting on my QNAP NAS.
I found this first by not being able to log in through phpMyAdmin - was getting error:
I was able to solve this on OS X by shutting down the existing mysql.server that was running:
mysql.server
mysql.server stop
The starting:
mysql.server start
From there I could run mysql.server restart without throwing the ERROR.
mysql.server restart