I just had to re-install mysql and I am having a problem starting it up. It cannot find the socket (mysql.sock). The problem is that neither can I. In my Mac OS X 10.4 te
This solved my problem
mysql_config --socket
UPDATE
mysql_config can tell us where the file mysql.sock should be, but in my case the file didn't exist. So, I've deleted my.cnf:
sudo rm -rf /etc/my.cnf
And then restarted mysql:
brew services restart mysql
The file was created and mysql is now running well.