Detect both missing DB and missing table.