adding host and port parameter to database.yml