Managing MySQL Service Through NET Command

Logo
If you want start and stop MySQL server on Windows XP, you can do it through MySQL Administrator or Service Console. And you can control it through command prompt, I’ll share it…

You can use net command to doing this job.
OK, follow these steps:
1. Open your command prompt console via Start – Run menu and type cmd on textbox
Start Run menu
or Start – All Programs – Accessories – Command Prompt menu (figure-2).
Command Prompt

2. And if you want to stop MySQL server type net stop mysql and press ENTER key (figure-3).
NET Stop MySQL

3. Otherwise if you want to start it just type net start mysql and press ENTER key (figure-4).
NET Start MySQL

4. It’s so simple, isn’t it?

3 Comments

Edi Kwie  on March 26th, 2008

Test comment

Reiniciar MySQL desde símbolo de sistema  on May 20th, 2008

[...] Vía: Otak Atik [dot] Com [...]

Manage Windows Services via Command Prompt | Otak Atik [dot] Com  on May 25th, 2008

[...] ever wrote how to manage Windows Services via Administrative Tools and Manage MySQL Service via DOS Console or DOS Prompt. Few readers are asking me to manage other service than MySQL via DOS Console. This time I want to [...]

Leave a Comment