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 classMysql’

I was able to resolve this issue with this article:

On Tue, Jan 5, 2010 at 4:04 PM, theLemcke [email protected]
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