Sorry it should have been fi instead of if
in rc.local add
if [-x /path/to/mysqld]; then
echo "MySQL started"
/path/to/mysqld start
fi
DT
----- Original Message -----
From: "Deependra B. Tandukar" <[EMAIL PROTECTED]>
To: "Brian Warn" <[EMAIL PROTECTED]>; "Ngu Nguyen" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, April 11, 2001 09:21 AM
Subject: Re: start mysql at startup
> Dear Ngu,
>
> in rc.local add
> if [-x /path/to/mysqld]; then
> echo "MySQL started"
> /path/to/mysqld start
> if
>
> Warm Regards,
> Deependra B. Tandukar
> www.coremag.net/cvs/dt.htm
>
> Training and Networking Assistant
> ICOD/ICIMOD
> www.icimod.org
>
> Co-ordinator
> CORExpress
> The Only Native Computer Magazine of Nepal
> www.coremag.net
> +++++++++++++++++++++++++++++++++++++++++++++++
> ===============================================
> ----- Original Message -----
> From: "Brian Warn" <[EMAIL PROTECTED]>
> To: "Ngu Nguyen" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Tuesday, April 10, 2001 11:24 PM
> Subject: Re: start mysql at startup
>
>
> >
> > I followed the instructions at the top of the mysql.server file and it
> works
> > great for me:
> >
> > # Copyright Abandoned 1996 TCX DataKonsult AB & Monty Program KB &
Detron
> HB
> > # This file is public domain and comes with NO WARRANTY of any kind
> >
> > # Mysql daemon start/stop script.
> >
> > # Usually this is put in /etc/init.d (at least on machines SYSV R4
> > # based systems) and linked to /etc/rc3.d/S99mysql. When this is done
> > # the mysql server will be started when the machine is started.
> >
> > -Brian
> >
> > ----- Original Message -----
> > From: "Ngu Nguyen" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, April 10, 2001 10:24 AM
> > Subject: start mysql at startup
> >
> >
> > Hi,
> >
> > I just finished installing mysql, but the only way I can start mysql is
> > using "./configure" or "./bin/safe_mysqld". In the documentation it
tells
> > me to use "mysql.server start" but this command doesn't work. I was
> > wondering if anyone could tell me what I am doing wrong.
> >
> > I am also wondering how I could get mysql running at startup. I have no
> > clue on how to do this at all.
> >
> > I'd really appreciate your help.
> >
> > Thanks,
> >
> > Ngu
> >
> >
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
> > ---------------------------------------------------------------------
> > 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
> >
> >
>
>
> ---------------------------------------------------------------------
> 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
>
>
---------------------------------------------------------------------
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