In case you have not already discovered it, the clue you need is the `
chkconfig --level 345 mysql on` shell command mentioned in that web page. 
In your system it is not enough to have a script in /etc/rc.d/init.d/, you 
also need links in your /etc/rc.d/rc{runlevel}.d/ directories.

Regards,
Mike Spreitzer




From:   Jaime Crespo Rincón <jcre...@warp.es>
To:     Nunzio Daveri <nunziodav...@yahoo.com>
Cc:     Guifre Bosch Fabregas <guifre.bo...@gmail.com>, 
mysql@lists.mysql.com
Date:   08/13/2010 04:07 AM
Subject:        Re: RHEL Auto Start / stop mysql???



2010/8/12 Nunzio Daveri <nunziodav...@yahoo.com>:
> Hi Guifre, thanks for answering.  I already have mysql installed and 
works just
> fine, but I did untar and then go to folder and run.  I used what is 
called
> mysql no-install so no yum, rpm etc..  No files in /etc/init.d and no 
startup or
> services script since this is using the no-install version.

Nunzio:

You will find an example init.d script on
$MYSQL_INSTAL_DIR/support-files/mysql.server

Follow the instructions corresponding to your distribution to setup
it. Generic instructions can be found here:

http://dev.mysql.com/doc/refman/5.1/en/automatic-start.html

-- 
Jaime Crespo
MySQL & Java Instructor
Warp Networks
<http://warp.es>

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=mspre...@us.ibm.com


Reply via email to