Skip to content

Instantly share code, notes, and snippets.

@juniovitorino
Last active December 11, 2015 18:38
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 juniovitorino/4642403 to your computer and use it in GitHub Desktop.
Save juniovitorino/4642403 to your computer and use it in GitHub Desktop.
Rails: MySQL database connection in Rails 3
development:
adapter: mysql2
encoding: utf8
reconnect: false
database: your_database_name
pool: 5
username: your_username
password: your_password
socket: /tmp/mysql.sock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment