[POST] Enhanced readibility

This commit is contained in:
Simon Cornet 2020-08-12 18:17:46 +02:00
parent 5281e64866
commit 5f2656bc26
4 changed files with 11 additions and 9 deletions

View File

@ -8,8 +8,10 @@ Rundeck 3.3.1 updated its 'mysql-connector-java' dependancy to version 8.0.21 wh
Reconfigure Rundeck accordingly: 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?autoReconnect=true&useSSL=false
+ dataSource.url = jdbc:mysql://localhost/rundeck?serverTimezone=Europe/Amsterdam + dataSource.url = jdbc:mysql://localhost/rundeck?serverTimezone=Europe/Amsterdam

View File

@ -19,7 +19,7 @@
<guid>https://simoncor.net/post/rundeck_331_mysql/</guid> <guid>https://simoncor.net/post/rundeck_331_mysql/</guid>
<description>Rundeck 3.3.1 updated its &amp;lsquo;mysql-connector-java&amp;rsquo; dependancy to version 8.0.21 which renamed the com.mysql.jdbc.Driver classname to com.mysql.cj.jdbc.Driver. <description>Rundeck 3.3.1 updated its &amp;lsquo;mysql-connector-java&amp;rsquo; dependancy to version 8.0.21 which renamed the com.mysql.jdbc.Driver classname to com.mysql.cj.jdbc.Driver.
Reconfigure Rundeck accordingly: Reconfigure Rundeck accordingly:
/etc/rundeck/rundeck-config.properties: ... - dataSource.url = jdbc:mysql://localhost/rundeck?autoReconnect=true&amp;amp;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 ... </description> /etc/rundeck/rundeck-config.properties ... - dataSource.url = jdbc:mysql://localhost/rundeck?autoReconnect=true&amp;amp;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 ... </description>
</item> </item>
<item> <item>

View File

@ -19,7 +19,7 @@
<guid>https://simoncor.net/post/rundeck_331_mysql/</guid> <guid>https://simoncor.net/post/rundeck_331_mysql/</guid>
<description>Rundeck 3.3.1 updated its &amp;lsquo;mysql-connector-java&amp;rsquo; dependancy to version 8.0.21 which renamed the com.mysql.jdbc.Driver classname to com.mysql.cj.jdbc.Driver. <description>Rundeck 3.3.1 updated its &amp;lsquo;mysql-connector-java&amp;rsquo; dependancy to version 8.0.21 which renamed the com.mysql.jdbc.Driver classname to com.mysql.cj.jdbc.Driver.
Reconfigure Rundeck accordingly: Reconfigure Rundeck accordingly:
/etc/rundeck/rundeck-config.properties: ... - dataSource.url = jdbc:mysql://localhost/rundeck?autoReconnect=true&amp;amp;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 ... </description> /etc/rundeck/rundeck-config.properties ... - dataSource.url = jdbc:mysql://localhost/rundeck?autoReconnect=true&amp;amp;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 ... </description>
</item> </item>
</channel> </channel>

View File

@ -118,15 +118,15 @@
<p>Rundeck 3.3.1 updated its &lsquo;mysql-connector-java&rsquo; dependancy to version 8.0.21 which renamed the   <code>com.mysql.jdbc.Driver</code>   classname to   <code>com.mysql.cj.jdbc.Driver</code>.</p> <p>Rundeck 3.3.1 updated its &lsquo;mysql-connector-java&rsquo; dependancy to version 8.0.21 which renamed the   <code>com.mysql.jdbc.Driver</code>   classname to   <code>com.mysql.cj.jdbc.Driver</code>.</p>
<p>Reconfigure Rundeck accordingly:</p> <p>Reconfigure Rundeck accordingly:</p>
<div class="highlight"><pre style="color:#e5e5e5;background-color:#000;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell">/etc/rundeck/rundeck-config.properties: <div class="highlight"><pre style="color:#e5e5e5;background-color:#000;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-fallback" data-lang="fallback">/etc/rundeck/rundeck-config.properties
... </code></pre></div><div class="highlight"><pre style="color:#e5e5e5;background-color:#000;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-fallback" data-lang="fallback">...
- dataSource.url = jdbc:mysql://localhost/rundeck?autoReconnect=true&amp;useSSL=<span style="color:#fff;font-weight:bold">false</span> - dataSource.url = jdbc:mysql://localhost/rundeck?autoReconnect=true&amp;useSSL=false
+ dataSource.url = jdbc:mysql://localhost/rundeck?serverTimezone=Europe/Amsterdam + dataSource.url = jdbc:mysql://localhost/rundeck?serverTimezone=Europe/Amsterdam
... ...
- dataSource.driverClassName = com.mysql.jdbc.Driver - dataSource.driverClassName = com.mysql.jdbc.Driver
+ dataSource.driverClassName = com.mysql.cj.jdbc.Driver + dataSource.driverClassName = com.mysql.cj.jdbc.Driver
+ dataSource.properties.autoReconnect = <span style="color:#fff;font-weight:bold">true</span> + dataSource.properties.autoReconnect = true
+ dataSource.properties.useSSL = <span style="color:#fff;font-weight:bold">false</span> + dataSource.properties.useSSL = false
... ...
</code></pre></div> </code></pre></div>
</article> </article>