pic_vert_app/config/database.yml
Nicolas Bally 1c31b422d1 utf8mb4
2014-12-09 00:49:27 +01:00

38 lines
700 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
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
database: pic_vert_app
encoding: utf8mb4
pool: 5
username: pic_vert_app
password: pic_vert_prod
socket: /var/run/mysqld/mysqld.sock