make db config global