Mailinglist Archive: opensuse (4570 mails)

< Previous Next >
Re: [SLE] mysql install problems
  • From: Paul <paul.ryan.uk@xxxxxxxxx>
  • Date: Thu, 10 Nov 2005 18:18:47 +0000 (UTC)
  • Message-id: <8b1547db0511101018t61f8bb9cs@xxxxxxxxxxxxxx>
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

< Previous Next >
References