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.

What command to use to check whether the MySQL service is available on a Mac OS X server?

Googled it but I couldn't find any answers.

share|improve this question
    
I think, you can use same commands as in GNU/Linux (for example, it described here). –  hangover Jul 16 '12 at 4:22
    
I've tried using that one. It says command not found. But I don't know if it is installed because even if it is installed the command might not be in the PATH. I wonder if there is a service checking command on mac to reveal that information. –  newguy Jul 16 '12 at 4:28
    
Well, you may then check the mysql process existense (ps aux | grep mysql) or that mysql server listens its port (netstat -ntpl | grep 3306). –  hangover Jul 16 '12 at 4:38

1 Answer 1

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.