rails--rails/railties/configs/database.yml

24 lines
594 B
YAML

development:
adapter: mysql
database: <%= app_name %>_development
<%= "socket: #{socket}" if socket %>
username: root
password:
# 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: mysql
database: <%= app_name %>_test
<%= "socket: #{socket}" if socket %>
username: root
password:
production:
adapter: mysql
database: <%= app_name %>_production
<%= "socket: #{socket}" if socket %>
username: root
password: