include database connection status in missing table conditions