Rundeck 3.3.1 - MySQL connection
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
...