Mailinglist Archive: opensuse (5130 mails)

< Previous Next >
mysql not starting on suse10.0 oss
  • From: "Kai Zhang" <cmskzhan@xxxxxxxxx>
  • Date: Thu, 11 May 2006 09:22:11 +0100
  • Message-id: <66b1ecce0605110122s300a93au823ffcff30aca6f5@xxxxxxxxxxxxxx>
Installed mysql via yast.
when trying to launch mysql, it states,

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

Searched google and find a few solutions:
1. run mysqld_safe as root and got following error
Stopping server from PID file /var/lib/mysql/linux.site.pid
mysqld ended

2. Added a line to mysql.server
ln -s /usr/share/mysql/mysql.server /etc/init.d/rc5.d/S99mysql
Still no joy!

There is no '/var/lib/mysql/mysql.sock' on the server.

Any idea? Trying to figure this out for days.

Regards,

Kai
< Previous Next >
This Thread
Follow Ups