Written by Sean Behan on Sun Jun 17th 2012

Sample Ruby on Rails database config file for connecting to mysql.

production:
  adapter: mysql
  encoding: utf8
  reconnect: false
  database: db_production
  pool: 5
  username: db_user
  password: db_password
  #socket: /tmp/mysql.sock #this may vary

Tagged with..
#configuration #MySQL #production #Rails #yml #Ruby on Rails

Just finishing up brewing up some fresh ground comments...