Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed and set up MySQL on Snow Leopard, and created a Launch Deamon to start MySQL automatically (Got it from this tutorial). But the step to verify that it is working, doesn't work for me:

mysql -uroot

That is because I have to log in with a password:

mysql -uroot -p

Will this be a problem when it tries to start?

share|improve this question

migrated from Nov 11 '09 at 20:14

This question came from our site for computer enthusiasts and power users.

up vote 2 down vote accepted

No. The daemon ( server ) is completely separate from what you're trying to run, which is the client. It's like the difference between a web server and a browser. The server can run all day long and not care whether you've got a browser running or not.

I don't know how Mac init scripts run, but if mysqld (note the 'd' suffix) is ever running at all, it should continue to run in the background.

share|improve this answer

It shouldn't be. Given I've never set up mysql on a mac but there isn't any reason for it to request a password to start a daemon. mysql daemeons start without passwords on unix and windows servers all the time. If it does... find a different tutorial because that one is doing it wrong, imo.

share|improve this answer

The password you mentioned is just needed to access the server, but not to start it. You server should start without any problems if you did install it correctly. Normally I just download the binary from and install it. No configuration needed.

share|improve this answer

Your Answer


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.