Pete Williamson
04/19/2022, 3:06 PMbox migrate up
is throwing the following:
ERROR (5.4.2+00453)
The OSGi Bundle with name [com.mysql.cj] is not available in version [8.0.28] locally (/home/user/.CommandBox/engine/cfml/cli/lucee-server/bundles) or from the update provider (<http://release.lucee.org>), the following versions are available locally [8.0.15, 8.0.19, 8.0.15].
caused by: org.osgi.framework.BundleException
I've put the mysql-connector-java-8.0.28.jar
in ~/.CommandBox/lib
I'll put my box.json and .cfonfig.json in a thread
Can anyone help with either of these errors? (or hopefully, both in one go)Pete Williamson
04/19/2022, 3:07 PM"allowAlter":true,
"allowCreate":true,
"allowDelete":true,
"allowDrop":true,
"allowGrant":true,
"allowInsert":true,
"allowRevoke":true,
"allowSelect":true,
"allowUpdate":true,
"alwaysSetTimeout":"true",
"blob":"true",
"class":"com.mysql.cj.jdbc.Driver",
"clob":"true",
"connectionLimit":"100",
"connectionTimeout":"-1",
"custom":"useUnicode=true&characterEncoding=UTF8&verifyServerCertificate=false&serverTimezone=Etc%2FUTC&useSSL=false&maxReconnects=3&useLegacyDatetimeCode=true",
"database":"cf",
"dbdriver":"MySQL",
"dsn":"jdbc:mysql://${MYSQL_HOST}:${MYSQL_PORT}/cf",
"host":"${MYSQL_HOST}",
"metaCacheTimeout":"60000",
"password":"${MYSQL_PASSWORD}",
"port":"${MYSQL_PORT:3306}",
"storage":"false",
"username":"${MYSQL_USER}",
"validate":"false"
Pete Williamson
04/19/2022, 3:07 PM"cfmigrations":{
"connectionInfo":{
"bundleName": "com.mysql.cj",
"bundleVersion": "8.0.28",
"class":"com.mysql.cj.jdbc.Driver",
"connectionString":"jdbc:mysql://${MYSQL_HOST}:${MYSQL_PORT}/cf?useUnicode=true&characterEncoding=UTF-8&useLegacyDatetimeCode=true&useSSL=false",
"password":"${MYSQL_PASSWORD}",
"username":"${MYSQL_USER}"
},
"defaultGrammar":"AutoDiscover@qb",
"migrationsDirectory":"resources/database/migrations",
"schema":"cf"
},
Pete Williamson
04/20/2022, 1:12 PM