HTH mucho coolness
Steve West wrote:
>
> Bruce,
>
> Thanks for all the help so far! :)
>
> It finnally works.
>
> SW
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 16, 2001 10:20 PM
> To: [EMAIL PROTECTED]
> Subject: Re: auto startup of mysql in redhat box?
>
> Actually that's what chkconfig does... It makes the links in /etc/rc.d
>
> again be root. then:
>
> ln -s /etc/rc.d/init.d/mysql /etc/rc3.d/S99mysql
>
> repeat as necessary in the rc[whatever].d directory.
>
> I think what's going on with the binary tarball you used is for
> something like slackware, which doesn't nativly have chkconfig... I've
> grafted it onto mine :)
>
> Steve West wrote:
> >
> > Bruce,
> >
> > I installed mysql-3.23.39-pc-linux-gnu-i686.tar.gz . Even though I'm still
> a
> > newbie to linux I thought to stay away from the redhat rpm files! :)
> >
> > Is this the correct version I should be using?
> >
> > I ran some tests w/ mysql and it seems everything works fine (i.e. added a
> > test database, some tables, etc). But I just can't seem to get it to
> > automatically startup.
> >
> > The mysql.server autostartup script mentions something about linking
> > mysql.server to /etc/rc3.d/S99mysql and /etc/rc0.d/S01mysql. Do you know
> how
> > I can go about doing this?
> >
> > Thanks!
> >
> > SW
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 16, 2001 9:48 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: auto startup of mysql in redhat box?
> >
> > Yeah, it means that the mysql.server file doesn't have the right
> > "structure" at the top to make chkconfig happy. What version of mysql
> > are you using? The startup script in 3.23.38 is correct. Assuming you
> > built it from a source tarball. You did didn't you? :) Beware of
> > RedHat RPMs (OK, RPMs in general)... They will lull you, 'cause they are
> > mostly right good. Then they will leap upon you and bite you very hard
> > when and where you least expect it.
> >
> > Bruce
> >
> > Steve West wrote:
> > >
> > > Bruce,
> > >
> > > I tried what you suggested and I get the following error message on my
> > > redhat 7 server:
> > >
> > > /sbin/chkconfig --list mysql
> > >
> > > service mysql does not support chkconfig
> > >
> > > Any ideas what I'm doing wrong?
> > >
> > > Thanks!
> > >
> > > SW
> > >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, May 16, 2001 9:32 PM
> > > To: [EMAIL PROTECTED]
> > > Cc: MySQL
> > > Subject: Re: auto startup of mysql in redhat box?
> > >
> > > login as root. Use:
> > >
> > > chkconfig --list mysql
> > >
> > > to determin if it on, if it's not on issue:
> > >
> > > chkconfig mysql on.
> > >
> > > That will make sure that mysql starts at boot time. To start mysql
> > > manually use:
> > >
> > > service mysql start
> > >
> > > Steve West wrote:
> > > >
> > > > I'm trying to figure out how to get mysql to startup automatically
> after
> > > > rebooting the server?
> > > >
> > > > I have a Redhat 7.0 box and I placed a file to call up the
> mysql.server
> > > auto
> > > > startup script as follows:
> > > >
> > > > /etc/rc.d/init.d/mysql
> > > >
> > > > which has the following code:
> > > >
> > > > /bin/sh -c 'cd /usr/local/mysql ; ./bin/safe_mysqld --user=mysql &'
> > > >
> > > > I also made sure that mysql.server file is executable.
> > > >
> > > > Any ideas on how to get the mysql to startup?
> > > >
> > > > P.S. I'm still new to linux and would appreciate any help! :)
> > > >
> > > > Thanks!
> > > >
> > > > SW
> > > >
> > > > ---------------------------------------------------------------------
> > > > Before posting, please check:
> > > > http://www.mysql.com/manual.php (the manual)
> > > > http://lists.mysql.com/ (the list archive)
> > > >
> > > > To request this thread, e-mail <[EMAIL PROTECTED]>
> > > > To unsubscribe, e-mail
> > > <[EMAIL PROTECTED]>
> > > > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> > >
> > > --
> > > Bruce
> > >
> > > One day at a time... One second if that's what it takes
> >
> > --
> > Bruce
> >
> > One day at a time... One second if that's what it takes
>
> --
> Bruce
>
> One day at a time... One second if that's what it takes
--
Bruce
One day at a time... One second if that's what it takes
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php