On 04/05/2004 6:16 PM, Brad Tilley <[EMAIL PROTECTED]> wrote:

> I've tried to make the server start at boot by copying the mysql.server file
> (from support-files) to /etc/init.d and /etc/rc.d ... neither worked. I also
> tried appending "/usr/local/mysql/bin/mysqld_safe --user=mysql &" to the
> rc.local file, but the machine would hang, it wouldn't read past that line.
> What's the best way to make the server start at boot?

Try chkconfig -- it works nicely:

/sbin/chkconfig --level 2345 mysql on
 
> Also,what's the best way to stop the server? Currently, I'm doing a killall
> mysqld, is there a more graceful way?

/usr/bin/mysqladmin [OPTIONS] shutdown

Pablo


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to