database config loaded from configuration