Re: Error 2002 with MySQL on a new Centos 5.5 installation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



2011/3/26 Todd Cary <todd@xxxxxxxxxxxxxxxxxx>:
> 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

try starting server first and enable it on start:

service mysqld start ; chkconfig mysqld on

--
Eero
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux