Question

(HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock

Does anyone know of a solution to this problem?

Was it helpful?

Solution

Maybe this will help.

Are you sure mysqld is running and listening on port 3306? netstat -a should tell you quickly.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top