Try to find your log file with suffix “.err”. There should be more information. It might be in:
/usr/local/var/mysql/your_computer_name.local.err
It’s probably a problem with permissions
-
Check if any MySQL instance is running
ps -ef | grep mysql
If yes, you should stop it, or kill the process:
kill -9 PID
where
PID
is the number displayed next to the username on the output of the previous command -
Check ownership of
/usr/local/var/mysql/
ls -laF /usr/local/var/mysql/
If it is owner by
root
, you should change it tomysql
oryour_user
sudo chown -R mysql /usr/local/var/mysql/