1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/configs/database.yml
David Heinemeier Hansson a41619681f Include suggestion for using different socket #1951 [NVRS]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2272 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-20 10:04:12 +00:00

25 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: