Installing MySQL on Leopard?

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

Any ideas?

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

On Dec 14, 2007 3:08 PM, John G.
[email protected] 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


Greg D.
http://destiney.com/

On Dec 14, 2007 4:04 PM, John G.
[email protected] wrote:

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

They work fine for me.


Greg D.
http://destiney.com/

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:

http://hivelogic.com/narrative/articles/installing-mysql-on-mac-os-x

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

Much happier now :wink:

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
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.

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

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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs