launching MySQL and socket problem

launching MySQL and socket problem

Post by CB » Sat, 21 Jul 2001 14:38:41



RH71, MySQL 3.23.39

I've installed MySQL via rpm, but when I go to run it (mysql), I get

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

Suggestions?

Thanks,
Chuck

 
 
 

launching MySQL and socket problem

Post by Edna Walto » Mon, 27 Aug 2001 06:22:30


Make sure that the user mysql (or mysqladm or whtaever yours is called)
is the owner of the directory /var/lib/mysql and can write to it - use
chown and/or chmod.

Edna


> RH71, MySQL 3.23.39

> I've installed MySQL via rpm, but when I go to run it (mysql), I get

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

> Suggestions?

> Thanks,
> Chuck