chriss39
4 days ago

Valet not starting or connecting to mysql

Posted 4 days 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/Chriss-MacBook-Pro-2.local.pid)

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.