Sha256: 262bf57b0008b71f639fdce49a4183a0ddeefe344250a5c20dbdc0bc012804d7
Contents?: true
Size: 849 Bytes
Versions: 2
Compression:
Stored size: 849 Bytes
Contents
# 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 # default: &default adapter: mysql2 encoding: utf8 pool: 5 username: root password: <% if mysql_socket -%> socket: <%= mysql_socket %> <% else -%> host: localhost <% end -%> development: <<: *default database: <%= app_name %>_development # 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: <<: *default database: <%= app_name %>_test production: <<: *default database: <%= app_name %>_production
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
railties-4.1.0.beta2 | lib/rails/generators/rails/app/templates/config/databases/mysql.yml |
railties-4.1.0.beta1 | lib/rails/generators/rails/app/templates/config/databases/mysql.yml |