# Installing MySQL on Leopard?

**URL:** <https://www.ruby-forum.com/t/installing-mysql-on-leopard/123201>\
**Category:** Rails\
**Created:** [December 14, 2007, 10:08pm UTC](https://www.ruby-forum.com/t/installing-mysql-on-leopard/123201 "2007-12-14T22:08:36Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![softf5ajivanet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9f8e36/32.png) [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Post date:** [December 14, 2007, 10:08pm UTC](https://www.ruby-forum.com/t/installing-mysql-on-leopard/123201/1 "2007-12-14T22:08:36Z")

</div>

totally not a Rails question but just got OSX Leopard and having real  
trouble working out how to get MySQL running ?

Any ideas?

---

<div class="post-metadata">

**Author:** ![softf5ajivanet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9f8e36/32.png) [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Post date:** [December 14, 2007, 10:52pm UTC](https://www.ruby-forum.com/t/installing-mysql-on-leopard/123201/2 "2007-12-14T22:52:13Z")

</div>

John G. wrote:

> totally not a Rails question but just got OSX Leopard and having real  
> trouble working out how to get MySQL running ?
> 
> Any ideas?

can you be more specific ?

I just downloaded from their web this mysql-5.0.45-osx10.4-i686.dmg some  
weeks ago, and all was smoothly, no problems.

rai

---

<div class="post-metadata">

**Author:** ![softf5ajivanet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9f8e36/32.png) [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Post date:** [December 14, 2007, 10:53pm UTC](https://www.ruby-forum.com/t/installing-mysql-on-leopard/123201/3 "2007-12-14T22:53:26Z")

</div>

On Dec 14, 2007 3:08 PM, John G.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> totally not a Rails question but just got OSX Leopard and having real  
> trouble working out how to get MySQL running ?
> 
> Any ideas?

Did you try the download page?

[http://dev.mysql.com/downloads/mysql/5.0.html#macosx-dmg](http://dev.mysql.com/downloads/mysql/5.0.html#macosx-dmg)

–  
Greg D.  
[http://destiney.com/](http://destiney.com/)

---

<div class="post-metadata">

**Author:** ![softf5ajivanet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9f8e36/32.png) [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Post date:** [December 14, 2007, 11:09pm UTC](https://www.ruby-forum.com/t/installing-mysql-on-leopard/123201/4 "2007-12-14T23:09:18Z")

</div>

On Dec 14, 2007 4:04 PM, John G.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Yeah, the startup tasks don’t work, shame.

They work fine for me.

–  
Greg D.  
[http://destiney.com/](http://destiney.com/)

---

<div class="post-metadata">

**Author:** ![softf5ajivanet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9f8e36/32.png) [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Post date:** [December 14, 2007, 11:35pm UTC](https://www.ruby-forum.com/t/installing-mysql-on-leopard/123201/5 "2007-12-14T23:35:23Z")

</div>

John G. wrote:

> totally not a Rails question but just got OSX Leopard and having real  
> trouble working out how to get MySQL running ?
> 
> Any ideas?

Hivelogic has a good article on it:

> **[Dan Benjamin](https://danbenjamin.com)**
>
> Dan Benjamin's personal website.

---

<div class="post-metadata">

**Author:** ![softf5ajivanet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9f8e36/32.png) [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Post date:** [December 14, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/installing-mysql-on-leopard/123201/6 "2007-12-14T23:04:10Z")

</div>

Yeah, the startup tasks don’t work, shame.

Worked it all out though, posted a guide on my blog,

[http://www.red91.com/articles/2007/12/14/installing-mysql-on-leopard](http://www.red91.com/articles/2007/12/14/installing-mysql-on-leopard)

Much happier now 😉

---

<div class="post-metadata">

**Author:** ![softf5ajivanet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9f8e36/32.png) [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Post date:** [December 16, 2007, 7:56am UTC](https://www.ruby-forum.com/t/installing-mysql-on-leopard/123201/7 "2007-12-16T07:56:23Z")

</div>

It’s still unclear what you say doesn’t work. “It” worked for me, but  
I can tell from your blog that I did things a little differently.

First, it’s worthwhile saying that what’s in my /Library/Startup  
Items/ directory is MySQLCOM, which I believe was installed when I  
downloaded the .dmg from the mysql folks.

The other thing I regularly do is copy from the distribution directory  
the my.cnf file for small installations, then edit it to point servers  
and clients not to /tmp/mysql.sock but to /var/db/mysql/mysql.sock,  
which is where I prefer all my mysql stuff to sit (iirc there are  
security concerns with /tmp and the .sock file). I think I add a  
corresponding socket entry for each database in my app’s config/  
database.yml file.

So I can say that on roughly three different Leopard machines I’ve  
pretty much just downloaded the .dmg from the good folks at [mysql.org](http://mysql.org)  
and used their stuff.

With Leopard Server, though, all this good stuff is already there, and  
setting Rails apps to be proxied by Apache is wonderfully easy.

---

<div class="post-metadata">

**Author:** ![softf5ajivanet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9f8e36/32.png) [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Post date:** [December 15, 2007, 11:42pm UTC](https://www.ruby-forum.com/t/installing-mysql-on-leopard/123201/8 "2007-12-15T23:42:55Z")

</div>

trust me when i say that doesn’t work for Leopard, 😉

---

<div class="post-metadata">

**Author:** ![softf5ajivanet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9f8e36/32.png) [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Post date:** [December 16, 2007, 10:02am UTC](https://www.ruby-forum.com/t/installing-mysql-on-leopard/123201/9 "2007-12-16T10:02:34Z")

</div>

Oh, well, no problem then, just with some setup’s it seems to throw a  
permissions issue and refuse to fire.

With mine the install worked fine, but wouldn’t startup after that, so i  
had to do a combination of what people suggested to make it work.

Wish it was as easy for me, just refused point blank to work until i  
tweaked it.
