mdsol / dice_bag

DiceBag is a library of rake tasks for configuring web apps in the style of The Twelve-Factor App.
MIT License
19 stars 4 forks source link

The database.yml file created via dice_bag contains deprecated variables for mysql. #76

Closed dyg2104MD closed 8 years ago

dyg2104MD commented 8 years ago

For the blueprint_health app, running bundle exec rake config creates a database.yml file like the following:

development: adapter: mysql2 database: blueprintservice_development username: root password: host: localhost pool: 5 timeout: 5000 encoding: utf8 variables: storage_engine: InnoDB

However, storage_engine is a deprecated variable in mysql 5.6 (http://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html#sysvar_storage_engine). Using the deprecated variable causes bundle exec rake db:create to fail. Instead it should be default_storage_engine.

I'm looking into if changing this would break backwards compatibility.

dyg2104MD commented 8 years ago

@smyers i found the source of the problem I was having with blueprint_health. a description is listed above.

dyg2104MD commented 8 years ago

closing this issue. i realized the problem is in the blueprint_service app. not in dice_bag.