Re: Starting MySQL

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



Todd Cary escribió:
When I run

# mysql

I get this error:

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

What do I need to do? The install of MySQL was done as part of the Centos setup.

Todd

Try with:

usr/bin/mysqld_safe --user=mysql &

Replace usr/bin/ with the right path to mysqld_safe

As far as I recall you need to have the client installation too to make it work. You can check if you have it already installed by accessing the man page for mysqld_safe

_______________________________________________
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