how to start - stop mysql??

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
lisawebs
Forum Commoner
Posts: 44
Joined: Wed Nov 19, 2003 6:21 pm

how to start - stop mysql??

Post 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)
User avatar
werlop
Forum Commoner
Posts: 68
Joined: Sat Mar 22, 2003 2:50 am
Location: /dev/null

Post 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
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post 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 :?
Post Reply