added error message if DB config is missing