From 5f2656bc26773fbe4a0651640d0ba28f0d0d9bb8 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Wed, 12 Aug 2020 18:17:46 +0200 Subject: [PATCH] [POST] Enhanced readibility --- content/post/rundeck_331_mysql.md | 6 ++++-- public/index.xml | 2 +- public/post/index.xml | 2 +- public/post/rundeck_331_mysql/index.html | 10 +++++----- 4 files changed, 11 insertions(+), 9 deletions(-) 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
 ...