BetaONE will rise again!


Reply
  #1  
Old 15th Apr 04, 05:10 PM
Sony's Avatar
Sony Sony is offline
M.I.A.
 
Join Date: Nov 2001
Location: Down Under
Posts: 319
Sony will become famous soon enoughSony will become famous soon enough
Send a message via ICQ to Sony Send a message via MSN to Sony
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]
Reply With Quote
  #2  
Old 15th Apr 04, 06:10 PM
SlickVic78's Avatar
SlickVic78 SlickVic78 is offline
Senior Member
 
Join Date: Sep 2001
Location: New York, USA
Posts: 515
SlickVic78 is an unknown quantity at this point
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
Reply With Quote
  #3  
Old 15th Apr 04, 06:13 PM
JacKDynne's Avatar
JacKDynne JacKDynne is offline
Administrator
 
Join Date: Oct 2001
Location: The Past Through Tomorrow
Posts: 1,591
JacKDynne will become famous soon enoughJacKDynne will become famous soon enough
Send a message via MSN to JacKDynne
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 start apache -k start cd  C:\apache start apachemonitor.exe cd  C:\mysql\bin start mysqld-nt.exe --standalone start http://localhost/ exit
__________________


Reply With Quote
  #4  
Old 15th Apr 04, 06:15 PM
FOX's Avatar
FOX FOX is offline
BetaONE Supporter
 
Join Date: Oct 2001
Posts: 70
FOX is an unknown quantity at this point
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>
Reply With Quote
  #5  
Old 16th Apr 04, 12:52 AM
Sony's Avatar
Sony Sony is offline
M.I.A.
 
Join Date: Nov 2001
Location: Down Under
Posts: 319
Sony will become famous soon enoughSony will become famous soon enough
Send a message via ICQ to Sony Send a message via MSN to Sony
Quote:
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]
Reply With Quote
  #6  
Old 16th Apr 04, 12:53 AM
Sony's Avatar
Sony Sony is offline
M.I.A.
 
Join Date: Nov 2001
Location: Down Under
Posts: 319
Sony will become famous soon enoughSony will become famous soon enough
Send a message via ICQ to Sony Send a message via MSN to Sony
Quote:
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]
Reply With Quote
  #7  
Old 16th Apr 04, 04:43 AM
war59312 war59312 is offline
BetaONE Supporter
 
Join Date: Jul 2001
Location: U.S.A
Posts: 2,220
war59312 has disabled reputation
Send a message via ICQ to war59312 Send a message via AIM to war59312 Send a message via MSN to war59312 Send a message via Yahoo to war59312
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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Update for Internet Explorer 6 for XP Service Pack 2 NewsBot BetaONE News 0 3rd Nov 04 11:00 AM
Windows XP Release 2 coming NewsBot NeoWin News 0 24th Oct 04 03:00 AM
Windows XP Release 2 coming NewsBot BetaONE News 0 24th Oct 04 03:00 AM
Speed up system. greasemonkey Hardware Support 6 6th Nov 01 07:32 PM


All times are GMT +1. The time now is 10:22 PM.


Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.