Oct 27, 2015

Error 2002 Can't connect through socket '/tmp/mysql.sock

Mysql can't connect '/tmp/mysql.sock


This is one common problem. The last time I experienced it was during installation on my macbook. There are plenty of good discussions to be found. In case you have not tried, there is an official coverage of this issue at the mysql website:

The error (2002) Can't connect to ... normally means that there is no MySQL server running on the system or that you are using an incorrect Unix socket file name or TCP/IP port number when trying to connect to the server. You should also check that the TCP/IP port you are using has not been blocked by a firewall or port blocking service. Source: dev.mysql.com

Can't even find the mysql-server package using yum? I have that covered here.

No comments:

Post a Comment