Sha256: c4d779bdd6ae65423e0f7c7eff01f31791d03e00efe028c5a4299c3e8d330c9b
Contents?: true
Size: 1.09 KB
Versions: 34
Compression:
Stored size: 1.09 KB
Contents
<% app_name_short = ENV['APP_NAME'][0..15] -%> # MySQL. Versions 4.1 and 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 development: adapter: mysql2 encoding: utf8 database: <%= app_name_short %>_dev pool: 5 username: <%= app_name_short %> password: <%= app_name_short %> socket: /var/lib/mysql/mysql.sock # Warning: The database defined as "test" will be erased and # re-generated from your development database when you run "rake". # Do not set this db to the same as development or production. test: adapter: mysql2 encoding: utf8 database: <%= app_name_short %>_test pool: 5 username: <%= app_name_short %> password: <%= app_name_short %> socket: /var/lib/mysql/mysql.sock production: adapter: mysql2 encoding: utf8 database: <%= app_name_short %>_pro pool: 5 username: <%= app_name_short %> password: <%= app_name_short %> socket: /var/lib/mysql/mysql.sock
Version data entries
34 entries across 34 versions & 1 rubygems