ecole_eft_app/config/database.yml
Nicolas Bally 0b253f7ee8 BDD
2012-06-18 08:11:39 +02:00

31 lines
711 B
YAML

# SQLite version 3.x
# gem install sqlite3
#
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
development:
adapter: mysql2
encoding: utf8
database: blog_app
pool: 5
username: blog_app
password: dev
socket: /tmp/mysql.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: sqlite3
database: db/test.sqlite3
pool: 5
timeout: 5000
production:
adapter: mysql2
encoding: utf8
database: blog_perso_app
pool: 5
username: blog_perso_app
password: blog_perso_prod
socket: /var/run/mysqld/mysqld.sock