Can't connect to local MySQL server through socket

Posted 4 months ago by SavageStarlight

I am using Laravel Valet and I’ve just received an error message while trying to connect to my databases through Sequel Pro. I’ve not had this happen before today.

Unable to connect via the socket, or the request timed out.

Double-check that the socket path is correct and that you have the 
necessary privileges, and that the server is running.

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

I’ve been trying to find an answer for the better part of an hour and I can’t find a solution. Worst timing too as I have a deadline on a project tomorrow morning.

Does anyone know what the issue could be? Any suggestions?

Thanks!

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

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels

Reply to

Use Markdown with GitHub-flavored code blocks.