detect connection string mismatches