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 <tangun73@gmail.com>
*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
> 2010/3/18 José Luis Romero <tangu...@gmail.com>
On Mar 19, 4:19 am, Yudi Soesanto <soesa...@gmail.com> 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
>
>> > rubyonrails-talk+unsubscribe@googlegroups.com<rubyonrails-talk%2Bunsubscribe@googlegroups.com>
> > On Mar 18, 12:36 am, Conrad Taylor <conra...@gmail.com> 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 rubyonrails-talk@googlegroups.com.
> > To unsubscribe from this group, send email to
> > .--
> > 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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment