Mailinglist Archive: opensuse (4570 mails)
| < Previous | Next > |
Re: [SLE] mysql install problems
- From: Randall R Schulz <rschulz@xxxxxxxxx>
- Date: Sat, 5 Nov 2005 15:35:49 +0000 (UTC)
- Message-id: <200511050735.44678.rschulz@xxxxxxxxx>
Nathan,
On Saturday 05 November 2005 06:17, perlcgi2000 wrote:
> 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 ?
Most likely you were not root when you tried to start MySQL. After it
runs the first time, all the necessary files in /var/lib/mysql will be
created.
Assuming you want to have MySQL running whenever your system is up, go
to YaST -> System -> System Services (Runlevel) and set the mysql
service to be running in runlevels 3 and 5.
> Thanks,
> Nathan
Randall Schulz
On Saturday 05 November 2005 06:17, perlcgi2000 wrote:
> 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 ?
Most likely you were not root when you tried to start MySQL. After it
runs the first time, all the necessary files in /var/lib/mysql will be
created.
Assuming you want to have MySQL running whenever your system is up, go
to YaST -> System -> System Services (Runlevel) and set the mysql
service to be running in runlevels 3 and 5.
> Thanks,
> Nathan
Randall Schulz
| < Previous | Next > |