Generates database.yml configured on mysql2 for OS X and ubuntu