Sha256: 2c40091a97a233b5dfd9cb9e2cd482e0efd956b56ce10ce0102c56a6fdb251a7
Contents?: true
Size: 1.14 KB
Versions: 29
Compression:
Stored size: 1.14 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 reconnect: false 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 reconnect: false 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 reconnect: false database: <%= app_name_short %>_pro pool: 5 username: <%= app_name_short %> password: <%= app_name_short %> socket: /var/lib/mysql/mysql.sock
Version data entries
29 entries across 29 versions & 1 rubygems