Skip to content

Instantly share code, notes, and snippets.

@newz2000
Created March 8, 2013 18:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save newz2000/5118821 to your computer and use it in GitHub Desktop.
Save newz2000/5118821 to your computer and use it in GitHub Desktop.
#
# PRODUCTION
#
production:
adapter: mysql2
encoding: utf8
host: mysql.yourserver.com
reconnect: true
database: gitlab
pool: 5
username: gitlab
password: "some password"
# socket: /tmp/mysql.sock
#
# Development specific
#
#
development:
adapter: mysql2
encoding: utf8
reconnect: false
database: gitlabhq_development
pool: 5
username: gitlab
password: "some password"
# 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: &test
adapter: mysql2
encoding: utf8
reconnect: false
database: gitlabhq_test
pool: 5
username: gitlab
password: "some password"
# socket: /tmp/mysql.sock
cucumber:
<<: *test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment