diff --git a/14/mysql-tomcat/docker-compose.yml b/14/mysql-tomcat/docker-compose.yml
index 61c9748af8707be831e8ef2e5d04078c4797bb58..767de4be0cfc98b17c1dc909ffa16055d2ad9341 100644
--- a/14/mysql-tomcat/docker-compose.yml
+++ b/14/mysql-tomcat/docker-compose.yml
@@ -46,7 +46,7 @@ services:
       - bridge
   # The container that runs the database (mysql)
   db:
-    image: "mysql:5.7"
+    image: "mysql:8.1"
     container_name: xwiki-mysql-db
     # - We provide a xwiki.cnf file in order to configure the mysql db to support UTF8 and be case-insensitive
     # We have to do it here since we use an existing image and that's how this image allows customizations.
diff --git a/15.5/mysql-tomcat/docker-compose.yml b/15.5/mysql-tomcat/docker-compose.yml
index 61c9748af8707be831e8ef2e5d04078c4797bb58..767de4be0cfc98b17c1dc909ffa16055d2ad9341 100644
--- a/15.5/mysql-tomcat/docker-compose.yml
+++ b/15.5/mysql-tomcat/docker-compose.yml
@@ -46,7 +46,7 @@ services:
       - bridge
   # The container that runs the database (mysql)
   db:
-    image: "mysql:5.7"
+    image: "mysql:8.1"
     container_name: xwiki-mysql-db
     # - We provide a xwiki.cnf file in order to configure the mysql db to support UTF8 and be case-insensitive
     # We have to do it here since we use an existing image and that's how this image allows customizations.
diff --git a/15/mysql-tomcat/docker-compose.yml b/15/mysql-tomcat/docker-compose.yml
index 61c9748af8707be831e8ef2e5d04078c4797bb58..767de4be0cfc98b17c1dc909ffa16055d2ad9341 100644
--- a/15/mysql-tomcat/docker-compose.yml
+++ b/15/mysql-tomcat/docker-compose.yml
@@ -46,7 +46,7 @@ services:
       - bridge
   # The container that runs the database (mysql)
   db:
-    image: "mysql:5.7"
+    image: "mysql:8.1"
     container_name: xwiki-mysql-db
     # - We provide a xwiki.cnf file in order to configure the mysql db to support UTF8 and be case-insensitive
     # We have to do it here since we use an existing image and that's how this image allows customizations.