![]() |
I'm running apache and mysql and php on my workstation but i would like to be able to start and stop myql service manually from my desktop without to having to go in the administrative tool every time.
does anyone know if it's possible to create a shortcut or a vbscript to start and stop a service? thank you Sony |
Hey sony,
Do you have an icon (traffic light) in your system tray? If so, right click on that, and there should be an option to shut down the server (MySQL). [Edit] I should also add that I am running MySQL on a Windows 9x machine... It may be a totally different set up if you are using an OS based on NT. Hope this helps, -SlickVic78 |
You can use a batch file most likely ;)
Check here :) http://www.mysql.de/doc/en/NT_start.html Hope that helps some :) /JD Here is one to use as an example :) Code:
cd C:\apache |
You can create two small batch files and put them on your desktop. One to start the service and one to stop it.
MySql_stop.bat: net stop <service name> MySql_start.bat: net start <service name> |
Quote:
thx anyway |
Quote:
|
Yea just use net start and net stop to start and run services. I use a batch file when I play games on my old computer.
Closes every un-needed service. |
All times are GMT +1. The time now is 05:13 AM. |
Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.