pic_vert_app/config/database.yml
2013-01-08 22:47:42 +01:00

39 lines
754 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: pic_vert
pool: 5
username: root
# 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: postgresql
host: localhost
database: pic_vert_app
# adapter: mysql2
# encoding: utf8
# pool: 5
# username: pic_vert_app
# password: pic_vert_prod
# socket: /var/run/mysqld/mysqld.sock