Jose, Uninstall gem mysql first (*sudo gem uninstall mysql*) and then install it again with this command:
$ sudo gem install mysql -- --with-mysql-config=/usr/bin/mysql_config *for reference:* Check on this link http://wiki.rubyonrails.org/database-support/mysql, maybe it can help. If it still doesn't work, try to reinstall mysql server. Good luck, Yudi Soesanto 2010/3/20 José Luis Romero <[email protected]> > *mysql --version > mysql Ver 14.14 Distrib 5.1.44, for redhat-linux-gnu (i386) using > readline 5.1 > > *rails -v > Rails 2.3.5 > > > On Mar 19, 4:19 am, Yudi Soesanto <[email protected]> wrote: > > Jose, > > > > What rails version and mysql version are you using? > > Do this: > > *rails -v* > > *mysql --version* > > > > I have the same issue as your after I upgraded to rails 2.2.2 and > finally, I > > got it work > > What I did, I reinstall mysql and it worked ok now. > > > > Yudi Soesanto > > > > 2010/3/18 José Luis Romero <[email protected]> > > > > > On Mar 18, 12:36 am, Conrad Taylor <[email protected]> wrote: > > > > José, can you verify that MySQL is running by doing the following: > > > > > > $ mysql -u<username> > > > > > Yes it's running... > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Ruby on Rails: Talk" group. > > > To post to this group, send email to [email protected] > . > > > To unsubscribe from this group, send email to > > > [email protected]<rubyonrails-talk%[email protected]> > <rubyonrails-talk%[email protected]<rubyonrails-talk%[email protected]> > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<rubyonrails-talk%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

