View Single Post

   
  #1 (permalink)  
Old 05-24-2008, 07:09 AM
paul.p@nospam.com
 
Posts: n/a
Default Start server only once ?


I'm using mysqld in CLI mode on a windowsME system

For my purpose I need to start and stop mySQL in a dos batch file.
This works fine.

Except I have more than one batch file that does this for various purposes.

My problem is: I can't find a way to start mysqld in such a way that it doesnt
error out if its already running. Ideally I'd like the second application
just just work without shutting down the first - first.

Is there a way I can do this - perhaps a command I've missed to ignore
this startup error?

At present I just start it with: mysqld --defaults-file=c:\mysql\my.ini

Thanks

Paul
----------------------
Reply With Quote