how to start automatically mysql-server at boot time?
how to start automatically mysql-server at boot time?
Moderator: General Moderators
how to start automatically mysql-server at boot time?
redhat9.0. used.. mysql-4.0.16.tar.gz installed..
how to start automatically mysql-server at boot time?

how to start automatically mysql-server at boot time?
This has nothing to do with php...
make an init script, I don't recall where RedHat stores such, in Debian and may others the script (accepting argument start, stop, restart etc) is in /etc/init.d/daemon and is symlinked from rcN.d/ with Sxxdaemon for start and Kxxdaemon for stop, N is runlevel (2 is normal) and xx is order of execution within directory..
You should probablu try to find a howto on init/init-scripts for Red Hat
make an init script, I don't recall where RedHat stores such, in Debian and may others the script (accepting argument start, stop, restart etc) is in /etc/init.d/daemon and is symlinked from rcN.d/ with Sxxdaemon for start and Kxxdaemon for stop, N is runlevel (2 is normal) and xx is order of execution within directory..
You should probablu try to find a howto on init/init-scripts for Red Hat
Re: how to start automatically mysql-server at boot time?
If it doesn't matter to you what version of MySQL you are using, check to see if there is a mysql rpm file on your CD. Install that and it will most likely start the service for you at boot.tweet wrote:redhat9.0. used.. mysql-4.0.16.tar.gz installed..
how to start automatically mysql-server at boot time?![]()
![]()
Otherwise, the tar.gz files should also have a directory with different config file examples and some scripts. One of those is a script that once placed in the correct place will (normally /etc/rc.d/initd/...) start the server for you. However, there is a little more to it that I can't remember off the top of my head. The documentation (mysql.com for example) will help a good deal. You will also need to learn about service and run levels on your Linux boxen.
Cheesr,
BDKR