# After upgrade to Snow Leopard how to upgrade MySQL to version 5.1?

**URL:** <https://www.ruby-forum.com/t/after-upgrade-to-snow-leopard-how-to-upgrade-mysql-to-version-5-1/175228>\
**Category:** Rails\
**Created:** [September 10, 2009, 12:24am UTC](https://www.ruby-forum.com/t/after-upgrade-to-snow-leopard-how-to-upgrade-mysql-to-version-5-1/175228 "2009-09-10T00:24:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kadoudal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f0a364/32.png) [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Post date:** [September 10, 2009, 12:24am UTC](https://www.ruby-forum.com/t/after-upgrade-to-snow-leopard-how-to-upgrade-mysql-to-version-5-1/175228/1 "2009-09-10T00:24:42Z")

</div>

Finally I could solve the mess in my dev environment by reverting the  
MySQL folder to its original version (before upgrade) so I run  
Leopard but no upgrade of MySQL yet …

present versions (all 32-bits as I cannot start kernel 64… )  
Rails 2.3.4  
Ruby 1.8.7  
MySQL-5.0.67 (libmysqlclient.1.5.dylib…)

gem mysql (2.7)

if I upgrade to MySQL-5.1.38 , I believe I have to modify my client …  
I should I proceed ?

thanks for your advice

erwin

---

<div class="post-metadata">

**Author:** ![kadoudal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f0a364/32.png) [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Post date:** [September 10, 2009, 5:12am UTC](https://www.ruby-forum.com/t/after-upgrade-to-snow-leopard-how-to-upgrade-mysql-to-version-5-1/175228/2 "2009-09-10T05:12:08Z")

</div>

Why not just install mac ports and use the mysql-devel port ?

---

<div class="post-metadata">

**Author:** ![kadoudal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f0a364/32.png) [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Post date:** [September 10, 2009, 8:43am UTC](https://www.ruby-forum.com/t/after-upgrade-to-snow-leopard-how-to-upgrade-mysql-to-version-5-1/175228/3 "2009-09-10T08:43:27Z")

</div>

in all this mess, some posts also advise not to use ports…  
maybe the best move is NOT to move until Apple clarify it…  
MacBook w 64-bit architecture but EFI-32 should be allowed to boot w  
64 kernel… some day (no technical reason to block it… but who  
knows the reason

On 10 sep, 05:10, heimdull [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Why not just install mac ports and use the mysql-devel port ?  
> found a good URL w utility to test all that stuff… not an Apple one

---

<div class="post-metadata">

**Author:** ![kadoudal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f0a364/32.png) [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Post date:** [September 10, 2009, 10:57am UTC](https://www.ruby-forum.com/t/after-upgrade-to-snow-leopard-how-to-upgrade-mysql-to-version-5-1/175228/4 "2009-09-10T10:57:31Z")

</div>

On Wed, Sep 9, 2009 at 3:22 PM, Erwin [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> gem mysql (2.7)
> 
> if I upgrade to MySQL-5.1.38 , I believe I have to modify my client …  
> I should I proceed ?
> 
> thanks for your advice
> 
> erwin

The instructions upgrading MySQL are contained in the following post:

> **[Upgrading to Snow Leopard](https://rubyonrails.org/2009/8/30/upgrading-to-snow-leopard)**
>
> Last Friday, Apple released their new OS version: Snow Leopard. Upgrading to SL is very easy and even gives you back quite a lot of HD space.However a few things have changed in the OS and you need to understand what is going on so you won’t get...

Good luck,

-Conrad

---

<div class="post-metadata">

**Author:** ![kadoudal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f0a364/32.png) [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Post date:** [September 11, 2009, 10:22pm UTC](https://www.ruby-forum.com/t/after-upgrade-to-snow-leopard-how-to-upgrade-mysql-to-version-5-1/175228/5 "2009-09-11T22:22:37Z")

</div>

> Finally I could solve the mess in my dev environment by reverting the  
> MySQL folder to its original version (before upgrade) Â so I run  
> Leopard but no upgrade of MySQL yet Â …
> 
> present versions Â (all 32-bits as I cannot start kernel 64… )

Once again: you don’t have to run kernel in 64bit mode to run apps in  
that mode.  
32bit kernel runs 64 bit apps just fine. Ruby that comes with snow  
leopard is 64bit, so just get 64bit version of MySQL and compile mysql  
gem for the 64bit arch.

## Regards, Rimantas

[http://rimantas.com/](http://rimantas.com/)

---

<div class="post-metadata">

**Author:** ![kadoudal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f0a364/32.png) [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Post date:** [September 10, 2009, 9:33am UTC](https://www.ruby-forum.com/t/after-upgrade-to-snow-leopard-how-to-upgrade-mysql-to-version-5-1/175228/6 "2009-09-10T09:33:49Z")

</div>

On Sep 9, 11:22 pm, Erwin [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Finally I could solve the mess in my dev environment by reverting the  
> MySQL folder to its original version (before upgrade) so I run  
> Leopard but no upgrade of MySQL yet …
> 
> present versions (all 32-bits as I cannot start kernel 64… )

Not very relevant here but just because the kernel is 32bits doesn’t  
mean that apps are - nearly everything defaults to a 32bit kernel  
apparently

> Rails 2.3.4  
> Ruby 1.8.7  
> MySQL-5.0.67 (libmysqlclient.1.5.dylib…)
> 
> gem mysql (2.7)
> 
> if I upgrade to MySQL-5.1.38 , I believe I have to modify my client …  
> I should I proceed ?

The key thing is whether the version of mysql you install is the same  
architecture as the version of ruby you currently have.

Fred
