diff --git a/jdbc/mysql-j-8/pom.xml b/jdbc/mysql-j-8/pom.xml
index 686335c43..60b83ae83 100644
--- a/jdbc/mysql-j-8/pom.xml
+++ b/jdbc/mysql-j-8/pom.xml
@@ -171,6 +171,7 @@
mysql
mysql-connector-java
8.0.17
+ runtime
diff --git a/jdbc/postgres/pom.xml b/jdbc/postgres/pom.xml
index 1c879f621..f26aacb74 100644
--- a/jdbc/postgres/pom.xml
+++ b/jdbc/postgres/pom.xml
@@ -170,6 +170,7 @@
org.postgresql
postgresql
42.5.0
+ runtime