[Rails] putty mysql error

Akanksha Baid akanksha.baid at gmail.com
Fri Jul 28 19:23:53 GMT 2006


I get the following mysql error when I try to connect to my Linux
machine using putty.

Unknown database 'db_develoment' (Mysql::Error)
any idea what i need to do to avoid this.

The same code works pefectly well on the Linux box.

/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/ven­dor/mysql.rb:508:i

n `read': Unknown database 'db_develoment' (Mysql::Error)
        from
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/ven­dor/m

ysql.rb:150:in `real_connect'
        from
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/con­necti

on_adapters/mysql_adapter.rb:331:in `connect'
        from
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/con­necti

on_adapters/mysql_adapter.rb:88:in `initialize'
        from
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/con­necti

on_adapters/mysql_adapter.rb:37:in `mysql_connection'
        from
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/con­necti

on_adapters/abstract/connection_specification.rb:251:in
`connection_without_query_cache='
        from
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/que­ry_ca

che.rb:54:in `connection='
        from
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/con­necti

on_adapters/abstract/connection_specification.rb:220:in
`retrieve_connection'
        from
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/con­necti

on_adapters/abstract/connection_specification.rb:78:in `connection'
         ... 6 levels...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060728/5e49d9ac/attachment.html


More information about the Rails mailing list