Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have this strange problem where I create a database in MySQL and I need to restart mysqld but I can't seem to do it with info the MySQL docs. Then, I kill it from the Task Manager and I can't restart it. When I look at the process, it is run by the SYSTEM, rather than me. When I run mysqld it starts the process by me, not the SYSTEM. Am I shutting it down incorrectly? IS there a way to start this daemon as the SYSTEM?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Use the Service-Dialog

  Right-Click Computer -> Manage -> Service and Application -> Service

And restart the service from there.

Or net stop|start mysql should work on all Windows OSs, and on newer Server-Versions there's a dedicated tool: sc stop|start|query mysql.

share|improve this answer
    
Alternately: Start -> Run -> services.msc –  Justin Scott Jun 8 '10 at 14:36
    
Thanks! I think I knew that, but was stuck thinking about the command line. Cheers. –  enesviem Jun 8 '10 at 14:55
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.