vivre_app/config/database.yml
Nicolas Bally 31c428a413 suite
2021-05-15 18:35:05 +02:00

32 lines
675 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: utf8mb4
database: vivre_app
pool: 5
username: root
host: 127.0.0.1
# 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: utf8mb4
database: vivre_app
pool: 5
username: vivre_app
password: vivre_app
socket: /var/run/mysqld/mysqld.sock