Re: How to start mysql at boot time?
From: Dave Uhring (daveuhring_at_yahoo.com)
Date: 06/16/05
- Next message: Bas Keur: "Re: How to start mysql at boot time?"
- Previous message: Bas Keur: "Re: How to start mysql at boot time?"
- In reply to: Bas Keur: "Re: How to start mysql at boot time?"
- Next in thread: Bas Keur: "Re: How to start mysql at boot time?"
- Reply: Bas Keur: "Re: How to start mysql at boot time?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 16 Jun 2005 13:25:36 -0500
On Thu, 16 Jun 2005 20:05:03 +0200, Bas Keur wrote:
> -- add this to /etc/rc.local --
> ### MySQL ###
> if [ -x /usr/local/share/mysql/mysql.server ]; then
> echo 'Starting MySQL'
> /usr/local/share/mysql/mysql.server start >/dev/null 2>&1
> fi
> -- add this to /etc/rc.local --
>
> Voila !
> If this is the official way ?
> It's my way, oh yes thats official around here :))
You also need a line in /etc/rc.shutdown to stop the mysql server cleanly.
Unless you want to risk corruption of your databases.
- Next message: Bas Keur: "Re: How to start mysql at boot time?"
- Previous message: Bas Keur: "Re: How to start mysql at boot time?"
- In reply to: Bas Keur: "Re: How to start mysql at boot time?"
- Next in thread: Bas Keur: "Re: How to start mysql at boot time?"
- Reply: Bas Keur: "Re: How to start mysql at boot time?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|