Start and Stop MySql in Mac Os X 10.5 Leopard

Yay! Its finally here! The newest version of my favorite operating system. And it comes with 98% of my dev stack ALREADY installed! Yay! This is perfect.

Wait… ok, no MySql. Thats ok, I’ll just install it…Wait… why isn’t it running…why isn’t this stupid preference panel turning it on! ARGHHH!

Ok, that may have just happened to you, and you dramatically hit the Google looking for answers. So answers I give you.

If you want to start MySql in Leopard, you need to call the startup item directly from the command line:

And to stop it:

Not so bad. But long… So make an alias in your .bash_profile

Happier? Relaxed? Good.