Mailinglist Archive: opensuse (4570 mails)
| < Previous | Next > |
Re: [SLE] mysql install problems
- From: Ken Schneider <suse-list@xxxxxxxxxxxxx>
- Date: Sat, 5 Nov 2005 15:41:45 +0000 (UTC)
- Message-id: <1131205297.19720.14.camel@xxxxxxxxxxxxxxxxx>
On Sat, 2005-11-05 at 07:35 -0800, Randall R Schulz wrote:
> 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.
Isn't that what chkconfig --add mysql does (as stated above)?
>
>
>
> > Thanks,
> > Nathan
>
> Randall Schulz
>
--
Ken Schneider
UNIX since 1989, linux since 1994, SuSE since 1998
> 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.
Isn't that what chkconfig --add mysql does (as stated above)?
>
>
>
> > Thanks,
> > Nathan
>
> Randall Schulz
>
--
Ken Schneider
UNIX since 1989, linux since 1994, SuSE since 1998
| < Previous | Next > |