10 Nov
2005
10 Nov
'05
18:18
Hi,
I'm trying to install mysql on suse 9.3 using apt.
It seems to install ok and chkconfig --add mysql works.
But when I try mysql start (in etc/init.d) I get:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
var/lib/mysql is empty. What am I doing wrong ?
This file will be empty unless mysqld is started first. (You were trying to start the mysql client, I think.) You should see mysql start up on boot, but anyway: rcmysql start /etc/init.d/mysql/start If you simply type mysql start it will try to start /usr/bin/mysql rather than the script file (you need ./ if the current directory is not in $PATH). -- /Paul "It's not about the ending, it's about the journey." - Lex Luthor