Page 1 of 1

how to start - stop mysql??

Posted: Fri Mar 19, 2004 8:06 am
by lisawebs
I'm using mysql by console, not as service,
since this have lots of troubles under a windows network.
and I just need it as standalone.

But, how to stop it?
Problem.
I want the application be sure mysql is running.
The best way to do this easely is to stop and run it again.
If I start it more than once, it'll cause problems after third time.

By the way, in my package (phpdev)
there's not the program (mysqladmin)

Posted: Tue Mar 23, 2004 12:12 pm
by werlop
You say your not running it as a windows service, is there any reason for this??

Services are very versatile, can start at bootup, or just when required. You can even set how they will respond if they fail.

To start a service, eg MySQL, either use the servies controller in the windows management console, or type "net start mysql" in a command window. You stop it by typing "net stop mysql"

I know havn't answered your question, just talking about services, but I prefer them to the other methods of running php/MySQL

Posted: Tue Mar 23, 2004 2:51 pm
by malcolmboston
i see absolutely no reason for not running it as a service, as you can still top and start it at any time :?