Re: Cron job to start/restart mysql for non-root user

2001-05-07 Thread Brian Reichert
On Fri, May 04, 2001 at 06:08:29PM -0700, Gary Bickford wrote: > I have a 'normal user' mysql setup on a server not my own - I have no > root access and they won't add mysql to the server's startup scripts. Many free Unix-a-like's are using Paul Vixie's cron, which I think has an undocumented '

Re: Cron job to start/restart mysql for non-root user

2001-05-04 Thread Steve Brazill
Have 'cron' run the normal "mysql" init script (should have come with the distribution). The script already checks to see if there's a "mysql" process already running (and issues a "A mysqld process already exists" message). Your 'cron' entry should look like: 00,10,20,30,40,50 * * * * /ho

Cron job to start/restart mysql for non-root user

2001-05-04 Thread Gary Bickford
I have a 'normal user' mysql setup on a server not my own - I have no root access and they won't add mysql to the server's startup scripts. I need a way to have the daemon start up when the server is rebooted. I do have access to cron jobs, so I thought I might build a script that fires ever