I just recently got a mac. I then learnt that I needed to install stuff with homebrew. But after installing mysql via homebrew, I could not get it to work.
Then i read in stackoverflow.com that deleting the error file fixes the startup problem I was having.
The file I deleted is this