diff --git a/includes/deploy.yml b/includes/deploy.yml
index d9a0c1346d91f054e0d582b06e2c500ccfbed47e..6feb289cbda753f2537ba8fbce38af2b31fd8774 100644
--- a/includes/deploy.yml
+++ b/includes/deploy.yml
@@ -202,7 +202,7 @@ deploy to repository:
       - $IS_NPM_LIBRARY
 
 update wpdesk plugins database:
-  image: mysql:5.6
+  image: mysql:5.7
   stage: post-deploy
   tags:
     - deploy
diff --git a/includes/tests/codeception-integration.yml b/includes/tests/codeception-integration.yml
index 413212b7da8a4ab664054407833aa22efc636573..c80cad68597b327b185fc224324088c38c9703c5 100644
--- a/includes/tests/codeception-integration.yml
+++ b/includes/tests/codeception-integration.yml
@@ -11,7 +11,7 @@ integration codeception tests:
     WP_CLI_CACHE_DIR: /cache/wp-cli
     APACHE_DOCUMENT_ROOT: ${CI_PROJECT_DIR}/tests/wordpress
   services:
-    - name: mysql:5.6
+    - name: mysql:5.7
       alias: mysqltests
       command: [--max-allowed-packet=67108864]
   needs:
diff --git a/includes/tests/codeception-parallel.yml b/includes/tests/codeception-parallel.yml
index 14bcfe0ecf5af46f0c92796684d8962e2daf3207..dc6c81d1876e3ed99b9e2aa6c0f378fb313c25c2 100644
--- a/includes/tests/codeception-parallel.yml
+++ b/includes/tests/codeception-parallel.yml
@@ -21,7 +21,7 @@ prepare codeception parallel:
     SCREEN_WIDTH: 1200
     SCREEN_HEIGHT: 1200
   services:
-    - name: mysql:5.6
+    - name: mysql:5.7
       alias: mysqltests
       command: [--max-allowed-packet=67108864]
     - name: wpdesknet/wordpress:52
@@ -85,7 +85,7 @@ prepare codeception parallel:
   parallel: 4
   retry: 2
   services:
-    - name: mysql:5.6
+    - name: mysql:5.7
       alias: mysqltests
       command: [--max-allowed-packet=67108864]
     - name: wpdesknet/wordpress:52
@@ -154,7 +154,7 @@ prepare codeception parallel:
 .template: &job-codeception-coverage
   <<: *job-codeception-test-parallel-manual
   services:
-    - name: mysql:5.6
+    - name: mysql:5.7
       alias: mysqltests
     - name: wpdesknet/wordpress:52
       alias: wootests
diff --git a/includes/tests/codeception.yml b/includes/tests/codeception.yml
index aca0e885496d21d1a851a00e0d9fa725bb8cb738..75b8c37b22b6971e949e8d867a0c0f90e7580a05 100644
--- a/includes/tests/codeception.yml
+++ b/includes/tests/codeception.yml
@@ -12,7 +12,7 @@
     SCREEN_HEIGHT: 1200
     DEPENDENT_PLUGINS_DIR: ${CI_PROJECT_DIR}/tests/dependent_plugins
   services:
-    - name: mysql:5.6
+    - name: mysql:5.7
       alias: mysqltests
       command: [--max-allowed-packet=67108864]
     - name: wpdesknet/wordpress:52
diff --git a/includes/tests/integration.yml b/includes/tests/integration.yml
index 8961f305fbb079b22fb7b75b8727d3b8dfa38b38..602e20ac1e4a282578036eed54c4b1020bec1f66 100644
--- a/includes/tests/integration.yml
+++ b/includes/tests/integration.yml
@@ -13,7 +13,7 @@
     - job: prepare tests
       optional: true
   services:
-    - mysql:5.6
+    - mysql:5.7
   before_script:
     - export DEPENDENT_PLUGINS_DIR=${CI_PROJECT_DIR}/tests/dependent_plugins
     - echo ${WPDESK_CI_VERSION}