add host: localhost to database.yml