# MySQL. Versions 5.0+ are recommended. # # Install the MYSQL driver # gem install mysql2 # # Ensure the MySQL gem is defined in your Gemfile # gem 'mysql2' # # And be sure to use new-style password hashing: # http://dev.mysql.com/doc/refman/5.0/en/old-client.html # default: &default adapter: mysql2 encoding: utf8 pool: 5 username: root password: host: localhost development: <<: *default host: <%= Rails.application.secrets.db_host %> database: <%= Rails.application.secrets.db %> username: <%= Rails.application.secrets.db_user %> password: <%= Rails.application.secrets.db_password %> test: <<: *default host: <%= Rails.application.secrets.db_host %> database: <%= Rails.application.secrets.db %> username: <%= Rails.application.secrets.db_user %> password: <%= Rails.application.secrets.db_password %> production: <<: *default database: <%= Rails.application.secrets.db %> username: <%= Rails.application.secrets.db_user %> password: <%= Rails.application.secrets.db_password %>