# Advice on MySQL version

**URL:** <https://www.ruby-forum.com/t/advice-on-mysql-version/50894>\
**Category:** Rails\
**Created:** [December 22, 2005, 11:26am UTC](https://www.ruby-forum.com/t/advice-on-mysql-version/50894 "2005-12-22T11:26:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fxn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/77aa72/32.png) [@fxn](https://www.ruby-forum.com/u/fxn)\
**Post date:** [December 22, 2005, 11:26am UTC](https://www.ruby-forum.com/t/advice-on-mysql-version/50894/1 "2005-12-22T11:26:08Z")

</div>

I am going to start a project from scratch with MySQL. Is it a good  
idea to go ahead with MySQL 5? Is there any gotcha with that version  
as of today?

– fxn

“We all agree on the necessity of compromise. We just can’t agree on  
when it’s necessary to compromise.”  
– Larry Wall in comp.lang.perl

---

<div class="post-metadata">

**Author:** ![fxn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/77aa72/32.png) [@fxn](https://www.ruby-forum.com/u/fxn)\
**Post date:** [December 22, 2005, 11:53am UTC](https://www.ruby-forum.com/t/advice-on-mysql-version/50894/2 "2005-12-22T11:53:13Z")

</div>

Mysql 5 works fine with the new rails 1.0. Don’t hack around with older  
versions of rails  
unless you have some specific need to. Older versions of rails need  
mysql-hackery to work  
with mysql-5, but are tuned okay for mysql-4.0. Use the latest of both.

Actually, postgres is a better choice, but that’s up to you.

Warren S.

---

<div class="post-metadata">

**Author:** ![fxn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/77aa72/32.png) [@fxn](https://www.ruby-forum.com/u/fxn)\
**Post date:** [December 22, 2005, 12:11pm UTC](https://www.ruby-forum.com/t/advice-on-mysql-version/50894/3 "2005-12-22T12:11:17Z")

</div>

On 12/22/05, Warren S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Mysql 5 works fine with the new rails 1.0. Don’t hack around with older  
> versions of rails  
> unless you have some specific need to. Older versions of rails need  
> mysql-hackery to work  
> with mysql-5, but are tuned okay for mysql-4.0. Use the latest of both.
> 
> Actually, postgres is a better choice, but that’s up to you.

Why?

---

<div class="post-metadata">

**Author:** ![fxn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/77aa72/32.png) [@fxn](https://www.ruby-forum.com/u/fxn)\
**Post date:** [December 22, 2005, 2:32pm UTC](https://www.ruby-forum.com/t/advice-on-mysql-version/50894/4 "2005-12-22T14:32:42Z")

</div>

On 12/22/05, Rodrigo A. Fernández [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Why?

It has a more complete feature set, and better adherance to ACID  
behaviour in terms of not silently truncating, transforming, or  
ignoring input rather than generating errors. If your application is  
non-trivial, you will end up moving to PostgreSQL, or coding around  
the shortcomings of MySQL.

But, I’m a zealot. Try Googling PostgreSQL vs MySQL and read what you  
find. Now is the best time to decide, migration is doable, but not  
always easy.
