Skip to content
ohsudo, Home

Tags

#sockets

ERROR 2002 (HY000)
Databases

MySQL "Can't connect to local MySQL server through socket": find out why (ERROR 2002)

Fix MySQL ERROR 2002 "Can't connect to local MySQL server through socket": is the server running, where is the socket, and why localhost differs from 127.0.0.1.

Beginner · 4 min read