diff --git a/content/post/rundeck_331_mysql.md b/content/post/rundeck_331_mysql.md index 93b3329..22e53cc 100644 --- a/content/post/rundeck_331_mysql.md +++ b/content/post/rundeck_331_mysql.md @@ -8,8 +8,10 @@ Rundeck 3.3.1 updated its 'mysql-connector-java' dependancy to version 8.0.21 wh Reconfigure Rundeck accordingly: -```shell -/etc/rundeck/rundeck-config.properties: +``` +/etc/rundeck/rundeck-config.properties +``` +``` ... - dataSource.url = jdbc:mysql://localhost/rundeck?autoReconnect=true&useSSL=false + dataSource.url = jdbc:mysql://localhost/rundeck?serverTimezone=Europe/Amsterdam diff --git a/public/index.xml b/public/index.xml index fa9b2f4..9c614d9 100644 --- a/public/index.xml +++ b/public/index.xml @@ -19,7 +19,7 @@ https://simoncor.net/post/rundeck_331_mysql/ Rundeck 3.3.1 updated its ‘mysql-connector-java’ dependancy to version 8.0.21 which renamed the com.mysql.jdbc.Driver classname to com.mysql.cj.jdbc.Driver. Reconfigure Rundeck accordingly: -/etc/rundeck/rundeck-config.properties: ... - dataSource.url = jdbc:mysql://localhost/rundeck?autoReconnect=true&useSSL=false + dataSource.url = jdbc:mysql://localhost/rundeck?serverTimezone=Europe/Amsterdam ... - dataSource.driverClassName = com.mysql.jdbc.Driver + dataSource.driverClassName = com.mysql.cj.jdbc.Driver + dataSource.properties.autoReconnect = true + dataSource.properties.useSSL = false ... +/etc/rundeck/rundeck-config.properties ... - dataSource.url = jdbc:mysql://localhost/rundeck?autoReconnect=true&useSSL=false + dataSource.url = jdbc:mysql://localhost/rundeck?serverTimezone=Europe/Amsterdam ... - dataSource.driverClassName = com.mysql.jdbc.Driver + dataSource.driverClassName = com.mysql.cj.jdbc.Driver + dataSource.properties.autoReconnect = true + dataSource.properties.useSSL = false ... diff --git a/public/post/index.xml b/public/post/index.xml index 0d31d1a..aff062a 100644 --- a/public/post/index.xml +++ b/public/post/index.xml @@ -19,7 +19,7 @@ https://simoncor.net/post/rundeck_331_mysql/ Rundeck 3.3.1 updated its ‘mysql-connector-java’ dependancy to version 8.0.21 which renamed the com.mysql.jdbc.Driver classname to com.mysql.cj.jdbc.Driver. Reconfigure Rundeck accordingly: -/etc/rundeck/rundeck-config.properties: ... - dataSource.url = jdbc:mysql://localhost/rundeck?autoReconnect=true&useSSL=false + dataSource.url = jdbc:mysql://localhost/rundeck?serverTimezone=Europe/Amsterdam ... - dataSource.driverClassName = com.mysql.jdbc.Driver + dataSource.driverClassName = com.mysql.cj.jdbc.Driver + dataSource.properties.autoReconnect = true + dataSource.properties.useSSL = false ... +/etc/rundeck/rundeck-config.properties ... - dataSource.url = jdbc:mysql://localhost/rundeck?autoReconnect=true&useSSL=false + dataSource.url = jdbc:mysql://localhost/rundeck?serverTimezone=Europe/Amsterdam ... - dataSource.driverClassName = com.mysql.jdbc.Driver + dataSource.driverClassName = com.mysql.cj.jdbc.Driver + dataSource.properties.autoReconnect = true + dataSource.properties.useSSL = false ... diff --git a/public/post/rundeck_331_mysql/index.html b/public/post/rundeck_331_mysql/index.html index 207f342..230eae9 100644 --- a/public/post/rundeck_331_mysql/index.html +++ b/public/post/rundeck_331_mysql/index.html @@ -118,15 +118,15 @@

Rundeck 3.3.1 updated its ‘mysql-connector-java’ dependancy to version 8.0.21 which renamed the   com.mysql.jdbc.Driver   classname to   com.mysql.cj.jdbc.Driver.

Reconfigure Rundeck accordingly:

-
/etc/rundeck/rundeck-config.properties:
-...
-- dataSource.url = jdbc:mysql://localhost/rundeck?autoReconnect=true&useSSL=false
+
/etc/rundeck/rundeck-config.properties
+
...
+- dataSource.url = jdbc:mysql://localhost/rundeck?autoReconnect=true&useSSL=false
 + dataSource.url = jdbc:mysql://localhost/rundeck?serverTimezone=Europe/Amsterdam
 ...
 - dataSource.driverClassName = com.mysql.jdbc.Driver
 + dataSource.driverClassName = com.mysql.cj.jdbc.Driver
-+ dataSource.properties.autoReconnect = true
-+ dataSource.properties.useSSL = false
++ dataSource.properties.autoReconnect = true
++ dataSource.properties.useSSL = false
 ...