Skip to content

Instantly share code, notes, and snippets.

@josephcc
Created May 30, 2014 17:22
Show Gist options
  • Select an option

  • Save josephcc/28111771d721a122ea57 to your computer and use it in GitHub Desktop.

Select an option

Save josephcc/28111771d721a122ea57 to your computer and use it in GitHub Desktop.
# SQLite version 3.x
# gem install sqlite3
#
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
development:
adapter: mysql2
database: ka_development
pool: 5
timeout: 5000
username: root
password: root
encoding: utf8
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: mysql2
database: ka_test
pool: 5
timeout: 5000
username: root
password: root
encoding: utf8
socket: /tmp/mysql.sock
production:
adapter: mysql2
database: ka_production
pool: 5
timeout: 5000
username: root
password: root
encoding: utf8
socket: /tmp/mysql.sock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment