4 months ago

Valet not starting or connecting to mysql

Posted 4 months ago by chriss39

I recently upgraded my mac to php 7.2 and upgraded valet to V 2 as I wanted to play around with Laravel V 6. Now when I start valet it doesn't start mysql as I normally saw before. I can run brew services start mysql and it seems to start just find but if I run mysql -v I get the following error. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

I looked up a bunch of stuff but nothing seems to be working. I am on Mac Sierra. Looking to see if anyone can help get me back connected and working. Let me know what other info I can provide. Also if I run mysql.server start I get this error. The server quit without updating PID file (/usr/local/var/mysql/

Hoping I can fix without losing all my existing databases.

Thanks in advance

Please sign in or create an account to participate in this conversation.