use database config system