diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cf23522c39cebe65616d253d3b3f3f2b4dee4e67..bccf77e8ac5d3bdaeed559dfbfd1680e7a991f47 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -86,6 +86,9 @@ unittests-mysql-5:
       command: ["--default-authentication-plugin=mysql_native_password"]
 
   script:
+    # remove autotap because the checks of (autogenerated) names of constraints
+    # and the checks of column default values don't work with mysql
+    - rm tests/test_autotap.sql
     - make pipeline-test SQL_HOST=mysql
 
 ######## Deploy ########