small medium large xlarge

_mg_8864 - cropped square_pragsmall
04 Jan 2012, 04:24
Jeremy Ross (5 posts)

In ch 16, Iteration K1, p235 in the PDF, the reader is directed to update database.yml with:

production:
  adapter: mysql
  encoding: utf8
  reconnect: false
  database: depot_production
  pool: 5
  username: username
  password: password
  host: localhost

After this change and running rake db:setup RAILS_ENV="production" I get: rake aborted! uninitialized constant Mysql

I changed the adapter value from mysql to mysql2 and the migration was successful.

_mg_8864 - cropped square_pragsmall
04 Jan 2012, 18:46
Jeremy Ross (5 posts)

I added this to errata, and then realized it was already there. Please delete the dupe. Thanks.

You must be logged in to comment