changed database.yml to mysql2