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

26 lines
613 B
YAML

development:
adapter: mysql
database: rails_development
host: localhost
username: root
password:
# With the MySQL adapter on localhost, it defaults to /tmp/mysql.sock
# socket: /var/run/mysqld/mysqld.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: mysql
database: rails_test
host: localhost
username: root
password:
production:
adapter: mysql
database: rails_production
host: localhost
username: root
password: