build database
database config