Skip to content

Instantly share code, notes, and snippets.

View ravishrivastava's full-sized avatar

Ravi Shrivastava ravishrivastava

View GitHub Profile
default: &default
adapter: mysql2
encoding: utf8
username: root
password: root
host: localhost
socket: /var/run/mysqld/mysqld.sock
development:
<<: *default
# MySQL. Versions 4.1 and 5.0 are recommended.
#
# Install the MYSQL driver
# gem install mysql2
#
# Ensure the MySQL gem is defined in your Gemfile
# gem 'mysql2'
#
# And be sure to use new-style password hashing:
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html