use database.yml for config