# Mysql problem

**URL:** <https://www.ruby-forum.com/t/mysql-problem/181937>\
**Category:** Rails\
**Created:** [January 20, 2010, 1:05pm UTC](https://www.ruby-forum.com/t/mysql-problem/181937 "2010-01-20T13:05:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex\_Thiakos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/a4c791/32.png) [@Alex\_Thiakos](https://www.ruby-forum.com/u/Alex_Thiakos)\
**Post date:** [January 20, 2010, 1:05pm UTC](https://www.ruby-forum.com/t/mysql-problem/181937/1 "2010-01-20T13:05:27Z")

</div>

Hello guys,

Im new in RoR, trying to see how this works.  
So the problem i have is with mysql.  
I always get the error:

/Users/alexthiakos/.gem/ruby/1.8/gems/mysql-2.8.1/lib/  
mysql\_api.bundle: [BUG] Segmentation fault  
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10.2.0]

when im trying to rake db:migrate.  
I reinstall everything, i installed mysql with the archflag etc…

Any ideas?

Thx for the help!

---

<div class="post-metadata">

**Author:** ![Alex\_Thiakos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/a4c791/32.png) [@Alex\_Thiakos](https://www.ruby-forum.com/u/Alex_Thiakos)\
**Post date:** [January 20, 2010, 9:59pm UTC](https://www.ruby-forum.com/t/mysql-problem/181937/2 "2010-01-20T21:59:48Z")

</div>

I have a couple of other Seg Faults in 1.8.7p284, so you are not  
alone. 🙂

Try switching to 1.9.1 or alike. Or take a step back to 1.8.6 (if you  
don’t need Rails 3). If unsure how to switch ruby versions – use RVM.

- Aleksey

---

<div class="post-metadata">

**Author:** ![Alex\_Thiakos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/a4c791/32.png) [@Alex\_Thiakos](https://www.ruby-forum.com/u/Alex_Thiakos)\
**Post date:** [January 21, 2010, 10:40am UTC](https://www.ruby-forum.com/t/mysql-problem/181937/3 "2010-01-21T10:40:41Z")

</div>

Well i finally made it, i migrate my database! Dont ask me how tho  
cause i really dont know!  
I used every guide i could found in the web and one of them worked :P!

So should i start using 1.9? Or should i wait for rails 3 stable  
release?  
Is it a lot different from 1.8? Cause i develop along with  
documentation since im a noob in RoR, and i dont want to mess up a lot  
of the syntax until i learn it for good…

Anyway thx for the reply m8!
