Mar 16, 2003 #1 Michael42 Programmer Oct 8, 2001 1,454 US In a batch program on my Windows NT server I need to shutdown then startup mySQL 4.0. I believe I am using mysqld-nt.exe. What is the proper command and parameters to do this? Thanks very much!
In a batch program on my Windows NT server I need to shutdown then startup mySQL 4.0. I believe I am using mysqld-nt.exe. What is the proper command and parameters to do this? Thanks very much!
Mar 16, 2003 1 #2 QatQat IS-IT--Management Nov 16, 2001 1,031 IT If you installed mysqld-nt as a service at installation time initially then c:\net stop mysqld-nt should stop the service and c:\net start mysqld-nt will restart it I hope it helps Bye Qatqat The reason why my girlfriend can read my thoughts is because mine are properly written! (G.Lepore) Upvote 0 Downvote
If you installed mysqld-nt as a service at installation time initially then c:\net stop mysqld-nt should stop the service and c:\net start mysqld-nt will restart it I hope it helps Bye Qatqat The reason why my girlfriend can read my thoughts is because mine are properly written! (G.Lepore)
Mar 16, 2003 #3 QatQat IS-IT--Management Nov 16, 2001 1,031 IT Apologies, mysqld-nt is the name of the server running, not the service, which is simply called 'mysql' therefore c:\net stop mysql will stop the service and c:\net start mysql will restart it. If you are writing a batch you should set it to wait a few seconds for the services to stop and restart Bye Qatqat The reason why my girlfriend can read my thoughts is because mine are properly written! (G.Lepore) Upvote 0 Downvote
Apologies, mysqld-nt is the name of the server running, not the service, which is simply called 'mysql' therefore c:\net stop mysql will stop the service and c:\net start mysql will restart it. If you are writing a batch you should set it to wait a few seconds for the services to stop and restart Bye Qatqat The reason why my girlfriend can read my thoughts is because mine are properly written! (G.Lepore)
Mar 17, 2003 Thread starter #4 Michael42 Programmer Oct 8, 2001 1,454 US Thanks very much Qatqat! Upvote 0 Downvote