Don't run mysql server from rc.local or any start-up script. Then let svscan monitor the mysql service...
like /service/mysql So if mysql goes down, svscan will take care of it and approximately, it will run mysql service within 5 secs run script would be something like: #!/bin/sh exec /usr/local/bin/tcpserver -c10 -vpR -x /etc/yourcdbfilehere 0 mysql /usr/local/bin/safe_mysqld --user=mysql 2>&1 Just from the top of my head, i haven't tried it though. Make sure that you add mysql on /etc/service. I think, it's port 3306. But it should work. Just my 2 bits... ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 26, 2002 4:41 AM Subject: RE: [plug] djbdns question > Then again, if your MySQL process goes down... > > -----Original Message----- > From: Orlando Andico [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 26, 2002 5:16 PM > To: [EMAIL PROTECTED] > Subject: Re: [plug] djbdns question > > On Fri, 26 Jul 2002, likot wrote: > .. > > welcome to the club of djbdns users, you have chosen > > wisely!!! > > > > it's not just fast, SECURE BUT ALSO RELIABLE and EASY > > to administer ( easier to administer than the Buggy > > Internet Name Daemon) > > http://mydns.bboy.net/ > > try this one too!! it promises to be better than your DJB-ian stuff :D > > > --- > Orlando Andico <[EMAIL PROTECTED]> > Mosaic Communications, Inc. > > _ > Philippine Linux Users Group. Web site and archives at > http://plug.linux.org.ph > To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] > > To subscribe to the Linux Newbies' List: send "subscribe" in the body to > [EMAIL PROTECTED] > _ > Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph > To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] > > To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED] _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
