Skip to content

Instantly share code, notes, and snippets.

@casper
Created November 10, 2016 07:41
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save casper/ef15ac2c4b3611c9409682a1fb5b1d12 to your computer and use it in GitHub Desktop.
development: &development
adapter: mysql2
encoding: utf8
database: fat_free_crm_development
pool: 5
username: root
# password:
socket: /var/run/mysqld/mysqld.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:
<<: *development
database: fat_free_crm_test
production:
adapter: mysql
encoding: utf8
database: fat_free_crm_production
pool: 5
username: root
password:
socket: /var/run/mysqld/mysqld.sock
socket: /tmp/mysql.sock
staging:
<<: *development
database: fat_free_crm_staging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment