Sunday, January 20, 2019

Can't connect to local MySQL server through socket homebrew

I recently tried installing MySQL with homebrew (brew install mysql) and when I try to run it I get the following error:




ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)




There is no /tmp/mysql.sock nor a /var/lib/mysql.sock.




I've searched and haven't found any mysql.sock file.



How can I fix this?

No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...