|
|
 |
|

15th Apr 04, 05:10 PM
|
 |
M.I.A.
|
|
Join Date: Nov 2001
Location: Down Under
Posts: 319
|
|
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
__________________
[img]http://www.bbstyles.com/sony.php[/img]
|
|

15th Apr 04, 06:10 PM
|
 |
Senior Member
|
|
Join Date: Sep 2001
Location: New York, USA
Posts: 515
|
|
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
__________________
 - Pentium 4 3.20GHz Processor
- 1 Gig DDR 400MHz RAM
- 100 Gig 7200 RPM Western Digital HDD
- 80 Gig 7200 RPM Western Digital HDD
- Lite-On LTR-52327S CD-RW Burner
- Lite-On SOHW-1633S DVD Burner
- ATI Radeon 9700 Pro
- Sound Blaster Audigy
- Microsoft Windows XP Pro SP-2
|
|

15th Apr 04, 06:13 PM
|
 |
Administrator
|
|
Join Date: Oct 2001
Location: The Past Through Tomorrow
Posts: 1,591
|
|
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
cd C:\apache
start apache -k start
cd C:\apache
start apachemonitor.exe
cd C:\mysql\bin
start mysqld-nt.exe --standalone
start http://localhost/
exit
|
|

15th Apr 04, 06:15 PM
|
 |
BetaONE Supporter
|
|
Join Date: Oct 2001
Posts: 70
|
|
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>
|
|

16th Apr 04, 12:52 AM
|
 |
M.I.A.
|
|
Join Date: Nov 2001
Location: Down Under
Posts: 319
|
|
Originally posted by SlickVic78@Apr 15 2004, 05:10 PM
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
I do have that but i hate tools like that sitting in my task bar so I disable it
thx anyway
__________________
[img]http://www.bbstyles.com/sony.php[/img]
|
|

16th Apr 04, 12:53 AM
|
 |
M.I.A.
|
|
Join Date: Nov 2001
Location: Down Under
Posts: 319
|
|
Originally posted by FOX@Apr 15 2004, 05:15 PM
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>
thank you fox that is exactly what i was looking for 
__________________
[img]http://www.bbstyles.com/sony.php[/img]
|
|

16th Apr 04, 04:43 AM
|
BetaONE Supporter
|
|
Join Date: Jul 2001
Location: U.S.A
Posts: 2,220
|
|
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.
__________________
Ad Muncher Usage Statistics for v4.7 Build 27105/1624
Adverts removed by Ad Muncher: 1,601,933
Approximate bandwidth saved: 12,515 MB
Counter started: April 2, 2003
Download: http://war59312.admuncher.com/download.shtml
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +1. The time now is 10:49 PM.
|
|