Web Hosting Forum | Lunarpages

Author Topic: mysql problem  (Read 131134 times)

Offline stevek91411

  • Newbie
  • *
  • Posts: 2
mysql problem
« on: March 23, 2011, 07:15:20 PM »
i am trying to change the default ROR project setup to use mysql rather than sqlite.  I have changed the database.yml file to specify mysql. Even though my app is in development mode the changes are not taking effect and i can  see an error in the log

/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/sqlite_adapter.rb:189:in `columns'


where it is still using the sqlite gem. Any idea how to reload the database.yml file to use mysql?


 

Share |