database config
db and tmp