diff --git a/driver_test.go b/driver_test.go index 4fd196d4b..24d73c34f 100644 --- a/driver_test.go +++ b/driver_test.go @@ -3539,6 +3539,9 @@ func TestConnectionAttributes(t *testing.T) { } func TestErrorInMultiResult(t *testing.T) { + if !available { + t.Skipf("MySQL server not running on %s", netAddr) + } // https://github.com/go-sql-driver/mysql/issues/1361 var db *sql.DB if _, err := ParseDSN(dsn); err != errInvalidDSNUnsafeCollation {