Skip to content

Instantly share code, notes, and snippets.

@vishal-kajjam
Created December 14, 2011 16:48
Show Gist options
  • Save vishal-kajjam/1477389 to your computer and use it in GitHub Desktop.
Save vishal-kajjam/1477389 to your computer and use it in GitHub Desktop.
database.yml
# SQLite version 3.x
# gem install sqlite3-ruby (not necessary on OS X Leopard)
development:
adapter: mysql
encoding: utf8
database: fiji_development
reconnect: false
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: &TEST
adapter: mysql
database: fiji_test
reconnect: false
pool: 5
username: root
password:
socket: /var/run/mysqld/mysqld.sock
cucumber:
<<: *TEST
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment