MySql Error will not let me connect to DB
-
09-10-2019 - |
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?
Solution
Maybe this will help.
Are you sure mysqld is running and listening on port 3306? netstat -a
should tell you quickly.
OTHER TIPS
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow