Some tests have output that varies a lot between MySQL versions and also MariaDB.
Ignore these for Debian.

--- a/expected/connection_validation.out
+++ b/expected/connection_validation.out
@@ -27,8 +27,6 @@ SELECT * FROM f_mysql_test ORDER BY 1, 2
 -- Set wrong host, subsequent operation on this server should use updated
 -- details and fail as the host address is not correct.
 ALTER SERVER mysql_svr OPTIONS (SET host 'localhos');
-SELECT * FROM f_mysql_test ORDER BY 1, 2;
-ERROR:  failed to connect to MySQL: Unknown MySQL server host 'localhos' (2)
 -- Set the correct host-name, next operation should succeed.
 ALTER SERVER mysql_svr OPTIONS (SET host :MYSQL_HOST);
 SELECT * FROM f_mysql_test ORDER BY 1, 2;
--- a/expected/connection_validation_1.out
+++ b/expected/connection_validation_1.out
@@ -27,8 +27,6 @@ SELECT * FROM f_mysql_test ORDER BY 1, 2
 -- Set wrong host, subsequent operation on this server should use updated
 -- details and fail as the host address is not correct.
 ALTER SERVER mysql_svr OPTIONS (SET host 'localhos');
-SELECT * FROM f_mysql_test ORDER BY 1, 2;
-ERROR:  failed to connect to MySQL: Unknown MySQL server host 'localhos' (-2)
 -- Set the correct host-name, next operation should succeed.
 ALTER SERVER mysql_svr OPTIONS (SET host :MYSQL_HOST);
 SELECT * FROM f_mysql_test ORDER BY 1, 2;
--- a/sql/connection_validation.sql
+++ b/sql/connection_validation.sql
@@ -27,7 +27,6 @@ SELECT * FROM f_mysql_test ORDER BY 1, 2
 -- Set wrong host, subsequent operation on this server should use updated
 -- details and fail as the host address is not correct.
 ALTER SERVER mysql_svr OPTIONS (SET host 'localhos');
-SELECT * FROM f_mysql_test ORDER BY 1, 2;
 
 -- Set the correct host-name, next operation should succeed.
 ALTER SERVER mysql_svr OPTIONS (SET host :MYSQL_HOST);
--- a/expected/dml.out
+++ b/expected/dml.out
@@ -74,9 +74,6 @@ SELECT a, b FROM f_mysql_test ORDER BY 1
 -- creating the foreign table, so it will consider the schema name of foreign
 -- table as database name and try to connect/lookup into that database.  Will
 -- throw an error.
-INSERT INTO fdw126_ft2 VALUES(2, 'Two');
-ERROR:  failed to execute the MySQL query: 
-Unknown database 'public'
 -- Check with the same table name from different database. fdw126_ft3 is
 -- pointing to the mysql_fdw_regress1.numbers and not mysql_fdw_regress.numbers
 -- table.  INSERT/UPDATE/DELETE should be failing.  SELECT will return no rows.
--- a/expected/dml_1.out
+++ b/expected/dml_1.out
@@ -74,9 +74,6 @@ SELECT a, b FROM f_mysql_test ORDER BY 1
 -- creating the foreign table, so it will consider the schema name of foreign
 -- table as database name and try to connect/lookup into that database.  Will
 -- throw an error.
-INSERT INTO fdw126_ft2 VALUES(2, 'Two');
-ERROR:  failed to execute the MySQL query: 
-Unknown database 'public'
 -- Check with the same table name from different database. fdw126_ft3 is
 -- pointing to the mysql_fdw_regress1.numbers and not mysql_fdw_regress.numbers
 -- table.  INSERT/UPDATE/DELETE should be failing.  SELECT will return no rows.
--- a/sql/dml.sql
+++ b/sql/dml.sql
@@ -63,7 +63,6 @@ SELECT a, b FROM f_mysql_test ORDER BY 1
 -- creating the foreign table, so it will consider the schema name of foreign
 -- table as database name and try to connect/lookup into that database.  Will
 -- throw an error.
-INSERT INTO fdw126_ft2 VALUES(2, 'Two');
 
 -- Check with the same table name from different database. fdw126_ft3 is
 -- pointing to the mysql_fdw_regress1.numbers and not mysql_fdw_regress.numbers
