Skip to content

Instantly share code, notes, and snippets.

@stephenprater
Created April 25, 2013 19:55
Show Gist options
  • Save stephenprater/5462630 to your computer and use it in GitHub Desktop.
Save stephenprater/5462630 to your computer and use it in GitHub Desktop.
database.yml that's not working
# gem install sqlite3
#
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
#legacy:
# adapter: mysql2
# database: Sofab_DW
# user: coll02sa
# password: hbZhGM1uvV7toebV
# host: localhost
# pool: 5
# timeout: 5000
development:
adapter: mysql2
database: bias_development
user: <my user>
password: <my password>
host: localhost
port: 3306
#socket: /var/run/mysqld/mysqld.sock
pool: 5
timeout: 5000
test:
adapter: mysql2
database: bias_test
user: <my user>
password: <my password>
host: localhost
port: 3306
#socket: /var/run/mysqld/mysqld.sock
pool: 5
timeout: 5000
production:
adapter: mysql2
database: bias
user: <my user>
password: <my password>
host: localhost
port: 3306
#socket: /var/run/mysqld/mysqld.sock
pool: 5
timeout: 5000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment