2020-08-12 12:20:38 +02:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "utf-8" >
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" >
< meta http-equiv = "Content-Language" content = "en" >
< meta name = "author" content = "Simon Cornet" >
< meta name = "description" content = "Rundeck" >
< meta name = "keywords" content = "personal, cv" >
< meta name = "twitter:card" content = "summary" / >
< meta name = "twitter:title" content = "Rundeck 3.3.1 - MySQL connection" / >
< meta name = "twitter:description" content = "Rundeck" / >
< meta property = "og:title" content = "Rundeck 3.3.1 - MySQL connection" / >
< meta property = "og:description" content = "Rundeck" / >
< meta property = "og:type" content = "article" / >
2022-05-24 15:23:29 +02:00
< meta property = "og:url" content = "https://simoncor.net/post/rundeck_331_mysql/" / > < meta property = "article:section" content = "post" / >
2020-08-12 12:20:38 +02:00
< meta property = "article:published_time" content = "2020-08-12T00:00:00+00:00" / >
< meta property = "article:modified_time" content = "2020-08-12T00:00:00+00:00" / >
2022-05-24 15:23:29 +02:00
2020-08-12 12:20:38 +02:00
< base href = "https://simoncor.net/post/rundeck_331_mysql/" >
< title >
Rundeck 3.3.1 - MySQL connection · /usr/home/simon/
< / title >
< link rel = "canonical" href = "https://simoncor.net/post/rundeck_331_mysql/" >
< link href = "https://fonts.googleapis.com/css?family=Lato:400,700%7CMerriweather:300,700%7CSource+Code+Pro:400,700&display=swap" rel = "stylesheet" >
< link rel = "stylesheet" href = "https://use.fontawesome.com/releases/v5.13.0/css/all.css" integrity = "sha384-Bfad6CLCknfcloXFOyFnlgtENryhrpZCe29RTifKEixXQZ38WheV+i/6YWSzkz3V" crossorigin = "anonymous" >
< link rel = "stylesheet" href = "https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" integrity = "sha256-l85OmPOjvil/SOvVt3HnSSjzF1TUMyT9eV0c2BzEGzU=" crossorigin = "anonymous" / >
< link rel = "stylesheet" href = "https://simoncor.net/css/coder.min.3219ef62ae52679b7a9c19043171c3cd9f523628c2a65f3ef247ee18836bc90b.css" integrity = "sha256-MhnvYq5SZ5t6nBkEMXHDzZ9SNijCpl8+8kfuGINryQs=" crossorigin = "anonymous" media = "screen" / >
< link rel = "stylesheet" href = "https://simoncor.net/css/coder-dark.min.e78e80fc3a585a4d1c8fc7f58623b6ff852411e38431a9cd1792877ecaa160f6.css" integrity = "sha256-546A/DpYWk0cj8f1hiO2/4UkEeOEManNF5KHfsqhYPY=" crossorigin = "anonymous" media = "screen" / >
2022-05-30 11:05:49 +02:00
2020-08-12 12:20:38 +02:00
2022-05-30 10:41:32 +02:00
< link rel = "apple-touch-icon" sizes = "180x180" href = "https://simoncor.net/images/apple-touch-icon.png" >
< link rel = "icon" type = "image/png" sizes = "32x32" href = "https://simoncor.net/images/favicon-32x32.png" >
< link rel = "icon" type = "image/png" sizes = "16x16" href = "https://simoncor.net/images/favicon-16x16.png" >
< link rel = "manifest" href = "https://simoncor.net/images/site.webmanifest" >
< link rel = "mask-icon" href = "https://simoncor.net/images/safari-pinned-tab.svg" color = "#5bbad5" >
< meta name = "msapplication-TileColor" content = "#2b5797" >
< meta name = "theme-color" content = "#ffffff" >
2020-08-12 12:20:38 +02:00
2022-05-24 15:23:29 +02:00
< meta name = "generator" content = "Hugo 0.93.3" / >
2020-08-12 12:20:38 +02:00
< / head >
< body class = "colorscheme-dark"
onload=""
>
< main class = "wrapper" >
< nav class = "navigation" >
< section class = "container" >
< a class = "navigation-title" href = "https://simoncor.net/" >
/usr/home/simon/
< / a >
< input type = "checkbox" id = "menu-toggle" / >
< label class = "menu-button float-right" for = "menu-toggle" > < i class = "fas fa-bars" > < / i > < / label >
< ul class = "navigation-list" >
< li class = "navigation-item" >
< a class = "navigation-link" href = "https://simoncor.net/post/" > Blog< / a >
< / li >
< li class = "navigation-item" >
< a class = "navigation-link" href = "https://simoncor.net/status/" > Status< / a >
< / li >
< li class = "navigation-item" >
< a class = "navigation-link" href = "https://simoncor.net/position/" > About< / a >
< / li >
< li class = "navigation-item" >
< a class = "navigation-link" href = "https://simoncor.net/scornet_cv.pdf" > CV< / a >
< / li >
< / ul >
< / section >
< / nav >
< div class = "content" >
< section class = "container page" >
< article >
< header >
< h1 > Rundeck 3.3.1 - MySQL connection< / h1 >
< / header >
< p > Rundeck 3.3.1 updated its ‘ mysql-connector-java’ 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 >
2022-05-24 15:23:29 +02:00
< div class = "highlight" > < pre tabindex = "0" style = "color:#e5e5e5;background-color:#000;-moz-tab-size:4;-o-tab-size:4;tab-size:4;" > < code class = "language-fallback" data-lang = "fallback" > < span style = "display:flex;" > < span > /etc/rundeck/rundeck-config.properties
< / span > < / span > < / code > < / pre > < / div > < div class = "highlight" > < pre tabindex = "0" style = "color:#e5e5e5;background-color:#000;-moz-tab-size:4;-o-tab-size:4;tab-size:4;" > < code class = "language-fallback" data-lang = "fallback" > < span style = "display:flex;" > < span > ...
< / span > < / span > < span style = "display:flex;" > < span > - dataSource.url = jdbc:mysql://localhost/rundeck?autoReconnect=true& useSSL=false
< / span > < / span > < span style = "display:flex;" > < span > + dataSource.url = jdbc:mysql://localhost/rundeck?serverTimezone=Europe/Amsterdam
< / span > < / span > < span style = "display:flex;" > < span > ...
< / span > < / span > < span style = "display:flex;" > < span > - dataSource.driverClassName = com.mysql.jdbc.Driver
< / span > < / span > < span style = "display:flex;" > < span > + dataSource.driverClassName = com.mysql.cj.jdbc.Driver
< / span > < / span > < span style = "display:flex;" > < span > + dataSource.properties.autoReconnect = true
< / span > < / span > < span style = "display:flex;" > < span > + dataSource.properties.useSSL = false
< / span > < / span > < span style = "display:flex;" > < span > ...
< / span > < / span > < / code > < / pre > < / div >
2020-08-12 12:20:38 +02:00
< / article >
< / section >
< / div >
< footer class = "footer" >
< section class = "container" >
< p > Ansible | FreeBSD | Linux | Networking | Security< / p >
©
2022-01-14 16:21:22 +01:00
2022
2020-08-12 12:20:38 +02:00
Simon Cornet
·
Powered by < a href = "https://gohugo.io/" > Hugo< / a > & < a href = "https://github.com/luizdepra/hugo-coder/" > Coder< / a > .
< / section >
< / footer >
< / main >
< / body >
< / html >