We're a community of 1.1M IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,080,688 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

MySQL Server Automatically Running in Windows

Hi everyone! Is there a way to set a MySQL server to not automatically start execution until prompted by the user? I recently installed a MySQL server on Windows and I'm having a little bit of problem at start up.

Everytime I go to the command prompt to type the command mysqld --console to start the MySQL server, errors are returned to me that say an application is already using the MySQL server and that I should close this application to get rid of the error. But there's no application that's actually using it. I found a way to terminate this unknown "application" by ending the process mysqld.exe in the task manager. But the problem is, everytime I turn my computer on, the mysqld.exe is again one of the processes running; it's like automatically running upon booting the PC so I have to terminate this process again in the task manager to successfully start the MySQL server. I do this everytime and I'm thinking there must be a way to terminate this process so that I won't be terminating it in the task manager and such that I could successfully start the MySQL server when I want to. So can anyone give me a way to stop the mysqld.exe from running everytime I turn on my PC?

Answers will be greatly appreciated. Thanks all!

3
Contributors
12
Replies
4 Hours
Discussion Span
2 Years Ago
Last Updated
13
Views
Question
Answered
shinsengumi
Junior Poster in Training
91 posts since Jul 2010
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

Go to services, and set the MySql service to start manually.

pritaeas
Posting Prodigy
Moderator
9,534 posts since Jul 2006
Reputation Points: 1,194
Solved Threads: 1,494
Skill Endorsements: 98

Go to services, and set the MySql service to start manually.

Thanks for replying, but how do I go to services? Do I need to reconfigure the MySQL instance?

shinsengumi
Junior Poster in Training
91 posts since Jul 2010
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

No. Not sure what OS you're running, most likely computer management, then services.

pritaeas
Posting Prodigy
Moderator
9,534 posts since Jul 2006
Reputation Points: 1,194
Solved Threads: 1,494
Skill Endorsements: 98

No. Not sure what OS you're running, most likely computer management, then services.

Windows XP. I'm trying to find it now but could you give me more detailed way to go to computer management?

shinsengumi
Junior Poster in Training
91 posts since Jul 2010
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

Ow, XP. I think you can open it by typing msconfig.exe in the box, after clicking start - run.

pritaeas
Posting Prodigy
Moderator
9,534 posts since Jul 2006
Reputation Points: 1,194
Solved Threads: 1,494
Skill Endorsements: 98

Ow, XP. I think you can open it by typing msconfig.exe in the box, after clicking start - run.

I found MySQL under Services but there is no option there to configure it to start manually. A check box is located beside MySQL, its status is Running and it is currently checked. And I also have the options to Apply the changes I'm going to make (which is to uncheck it maybe?) What's the best thing to do?

shinsengumi
Junior Poster in Training
91 posts since Jul 2010
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

Don't have XP here, so you'll have to wait until I'm home. Can't remember how to change the setting from the top of my head. Perhaps someone else will reply with the correct procedure before that.

pritaeas
Posting Prodigy
Moderator
9,534 posts since Jul 2006
Reputation Points: 1,194
Solved Threads: 1,494
Skill Endorsements: 98

Don't have XP here, so you'll have to wait until I'm home. Can't remember how to change the setting from the top of my head. Perhaps someone else will reply with the correct procedure before that.

OK then, if no one else can answer the problem, I hope you could answer it once you're home. Thanks again

shinsengumi
Junior Poster in Training
91 posts since Jul 2010
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0
NOTE: On the steps below
">"  mean "click on"
">>" mean "double click on"


>Start	>Control Panel	>>Administrative Tools	>>Services >>MySQL

Change Startup type to Manual

>Apply
hielo
Veteran Poster
1,131 posts since Dec 2007
Reputation Points: 116
Solved Threads: 247
Skill Endorsements: 0
NOTE: On the steps below
">"  mean "click on"
">>" mean "double click on"


>Start	>Control Panel	>>Administrative Tools	>>Services >>MySQL

Change Startup type to Manual

>Apply

Thanks for replying. I've followed the steps thoroughly but they didn't seem to work. Do I need to reboot my PC for the changes to be fully applied? I'm asking coz I'm currently doing something that inhibits me from rebooting the PC.

shinsengumi
Junior Poster in Training
91 posts since Jul 2010
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

Note that this change only affects startup. The process that is running is not affected, unless you choose "stop".

pritaeas
Posting Prodigy
Moderator
9,534 posts since Jul 2006
Reputation Points: 1,194
Solved Threads: 1,494
Skill Endorsements: 98

Note that this change only affects startup. The process that is running is not affected, unless you choose "stop".

So I guess the change will only take effect once I reboot the PC, right? Maybe I'll do it later. Anyway, I'll ask a question in this thread if the problem isn't solved yet.

shinsengumi
Junior Poster in Training
91 posts since Jul 2010
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0
Question Answered as of 2 Years Ago by pritaeas and hielo

This question has already been solved: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page generated in 0.1853 seconds using 2.77MB