Command line : Auto-Restart My SQL
From: Solange Ezveff (se_at_friend.fr)
Date: 12/21/04
- Next message: Jens.Toerring_at_physik.fu-berlin.de: "Re: Command line : Auto-Restart My SQL"
- Previous message: Kasper Dupont: "Re: Linux timers"
- Next in thread: Jens.Toerring_at_physik.fu-berlin.de: "Re: Command line : Auto-Restart My SQL"
- Reply: Jens.Toerring_at_physik.fu-berlin.de: "Re: Command line : Auto-Restart My SQL"
- Reply: Lawrence DčOliveiro: "Re: Command line : Auto-Restart My SQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 21 Dec 2004 08:24:18 -0800
Hi,
Cannot implement an auto-restart MySQL server script when this
database has failled.
I was kindly told by gentlemen to :
1. check if its running with /etc/init.d/mysql status
2. restart the process with : /etc/init.d/mysql start chkconfig
--level 345.
I will follow this direction, but I am sorry to disturb you, but I do
not know how to implement this.
In SSH : with a crontab + a certain script I do not know how to write
this, that would combine both lines.
Or In a stored file (like a get-certain app-event)stored somewhere at
an admin level that would conbine these two commands I do not know how
to write.
I really thank your advise.
Solange
http://www.jssgallery.org
- Next message: Jens.Toerring_at_physik.fu-berlin.de: "Re: Command line : Auto-Restart My SQL"
- Previous message: Kasper Dupont: "Re: Linux timers"
- Next in thread: Jens.Toerring_at_physik.fu-berlin.de: "Re: Command line : Auto-Restart My SQL"
- Reply: Jens.Toerring_at_physik.fu-berlin.de: "Re: Command line : Auto-Restart My SQL"
- Reply: Lawrence DčOliveiro: "Re: Command line : Auto-Restart My SQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]