add localhost as host in database.yml