PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 30th, 2000, 04:21 PM
jckazz jckazz is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 6 jckazz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
This is probably not the best place to post this question.
I can start the mysqld fine by running the following command
C:mysqlbinmysqld --standalone

and I can shut it down fine with the following command
c:mysqlbinmysqladmin shutdown

But does anybody know how to set this up in win98 so that it will automatically startup mysqld on startup, and automatically shut it down on shutdown/restart?

Reply With Quote
  #2  
Old May 30th, 2000, 10:26 PM
okhvatstas okhvatstas is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 33 okhvatstas User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
I am not 100 per cent sure that my advice will work, but give it a shot anyway.
Go to the Windows Registry (run regedit.exe in the Windows dir). While in there, go to
HKEY_LOCAL_MACHINE - Software - Microsoft - Windows - Current Version - Run. You will have a list of programs that run on startup independently of the entries in Windows/Main Menu/Startup folder. Right click on the background and make a new entry ('string parameter' or something like this), which should resemble the ones already in there. Type the parameters needed to start MySQL. I guess you may also try this trick in another way, through making a DOS shortcut in Windows/Main Menu/Startup folder, but I am not sure whether the DOS box will stay afloat or not, or whether this can be done at all.
As to stopping MySQL at the end, you can make a DOS shortcut and place it on the desktop. I guess Windows will exit MySQL anyway, but I am afraid it will pop up a box saying it can't exit the program automatically and will ask whether you want to do it.
Also, on Windows 98 there is the so-called Task manager if the above advice fails, try whether it can handle this. Apart from all this, there are programs on www.winfiles.com, www.tucows.com, etc, that can be adapted for this purpose. Good luck!

Reply With Quote
  #3  
Old May 30th, 2000, 11:32 PM
jckazz jckazz is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 6 jckazz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by okhvatstas:
Go to the Windows Registry (run regedit.exe in the Windows dir). While in there, go to
HKEY_LOCAL_MACHINE - Software - Microsoft - Windows - Current Version - Run. You will have a list of programs that run on startup independently of the entries in Windows/Main Menu/Startup folder. Right click on the background and make a new entry ('string parameter' or something like this), which should resemble the ones already in there. Type the parameters needed to start MySQL.
[/quote]

Thank you! This worked great for starting up mysqld at startup. As far as the shutdown goes, I have seen the WinUtils package from http://www.ozemail.com.au/~daylott/software.htm . It will make a shutdown folder in my programs menu. I was hoping I would be able to do this without installing additional software. I need to set this up on another computer. The owner of that computer is not very pc savvy, so I would like to minimize the potential problems. If anyone out there knows of a registry hack to run a dos command at shutdown, please help. If all else fails, I'll try the WinUtils.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > Please help start up / shutdown mysqld in win98

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap