Hi Guys, when server start .cfconfig file creates an old Mysql version, please check the bundleVersion
loaded from .cfconfig file
this.datasources[“test”] = {
class: ‘com.mysql.jdbc.Driver’
, bundleName: ‘com.mysql.jdbc’
, bundleVersion: ‘5.1.38’
, connectionString: ‘jdbc:mysql://localhost:3306/TEST?useUnicode=true&characterEncoding=UTF8&serverTimezone=America/Tegucigalpa&useLegacyDatetimeCode=true’
, username: ‘root’
, password: “encrypted:d005fa5f10019ddef7dac15f7e0be61119b8359ddbf8ce45fd5468fcd5589bd1”
// optional settings
, connectionLimit:100 // default:-1
, alwaysSetTimeout:true // default: false
, validate:false // default: false
};
this.datasources[“test”] = {
class: ‘com.mysql.cj.jdbc.Driver’
, bundleName: ‘com.mysql.cj’
, bundleVersion: ‘8.0.15’
, connectionString: ‘jdbc:mysql://localhost:3306/TEST?useUnicode=true&characterEncoding=UTF8&serverTimezone=America/Tegucigalpa&useLegacyDatetimeCode=true’
, username: ‘root’
, password: “encrypted:1f19f93ffed0d1b5e3a567501b120dfe5ffab71123c01f999b58a5514d85376c”
// optional settings
, connectionLimit:100 // default:-1
, alwaysSetTimeout:true // default: false
, validate:false // default: false
};
Thanks for the help.