Re: undefined method `query'' for class `Mysql''

Conrad Taylor
2010-01-06T07:33:29Z

On Tue, Jan 5, 2010 at 4:04 PM, theLemcke
<sixtimesnine-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> help!
>
> Just installed clean install of rails (2.3.2), ruby (1.8.7), and mysql
> (5.1), and when I try to run "rake db:migrate" on an existing
rails
> app I get the following error:
>
> undefined method `query'' for class `Mysql''
>
>
First, what platform are you working with?  How did you exactly install
''mysql''?  For
example, if you''re using Snow Leopard, did you use MacPorts, Fink, or
other?
 Next,
did you properly install the Mysql database adapter:

sudo gem install mysql

-Conrad

ps:  When


> --
> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
>
>