undefined method `query' for class `Mysql'

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'

I was able to resolve this issue with this article:

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