cours0708/P5B/ruby/mon_projet/config/database.yml

38 lines
1003 B
YAML
Raw Permalink Normal View History

2008-11-25 21:11:16 +00:00
# MySQL (default setup). Versions 4.1 and 5.0 are recommended.
#
# Install the MySQL driver:
# gem install mysql
# On MacOS X:
# gem install mysql -- --include=/usr/local/lib
# On Windows:
# gem install mysql
# Choose the win32 build.
# Install MySQL and put its /bin directory on your path.
#
# And be sure to use new-style password hashing:
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
development:
adapter: mysql
database: 073dossmanno_dev # 07login_dev
username: 3dossmanno
password: 3dossmanno
host: pipit
encoding: utf8
# 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: 073dossmanno_test # 07login_test
username: 3dossmanno
password: 3dossmanno
host: pipit
production:
adapter: mysql
database: mon_projet_production
username: root
password:
host: localhost