Todd Cary
2011-Mar-26 17:25 UTC
[CentOS] Error 2002 with MySQL on a new Centos 5.5 installation
With my new Centos installation, I get the following error when I type in # mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) I have Googled the error, but the results do not appear to be helpful Todd -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20110326/409ca329/attachment-0001.html>
Eero Volotinen
2011-Mar-26 17:28 UTC
[CentOS] Error 2002 with MySQL on a new Centos 5.5 installation
2011/3/26 Todd Cary <todd at aristesoftware.com>:> With my new Centos installation, I get the following error when I type in > > # mysql > > ERROR 2002 (HY000): Can't connect to local MySQL server through socket > '/var/lib/mysql/mysql.sock' (2) > > I have Googled the error, but the results do not appear to be helpfultry starting server first and enable it on start: service mysqld start ; chkconfig mysqld on -- Eero