Skip to content

Commit

Permalink
LDEV-5136 update to mysql 9.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Nov 5, 2024
1 parent f2c3977 commit 38357d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/src/main/java/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ Require-Bundle: org.apache.commons.commons-codec;bundle-version=1.15.0,
com.github.f4b6a3.ulid;bundle-version=5.2.3,
org.lucee.janino;bundle-version=3.1.9,
org.lucee.janinocc;bundle-version=3.1.9
Require-Extension: 7E673D15-D87C-41A6-8B5F1956528C605F;name=MySQL;label=MySQL;version=8.4.0,
Require-Extension: 7E673D15-D87C-41A6-8B5F1956528C605F;name=MySQL;label=MySQL;version=9.1.0,
99A4EF8D-F2FD-40C8-8FB8C2E67A4EEEB6;name=MSSQL;label=MS SQL Server;version=12.4.2.jre8,
671B01B8-B3B3-42B9-AC055A356BED5281;name=PostgreSQL;label=PostgreSQL;version=42.7.3,
2BCD080F-4E1E-48F5-BEFE794232A21AF6;name=JDTsSQL;label=jTDS (MSSQL);version=1.3.1,
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/lucee/runtime/db/DBUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public static DataSourceDefintion getDataSourceDefintionForType(Config config, S
}
if ("mysql".equals(type)) {
if (MYSQL == null) {
JDBCDriver jdbc = getJDBCDriver(config, "mysql", "com.mysql.cj.jdbc.Driver", "com.mysql.cj", "8.0.15", "jdbc:mysql://{host}:{port}/{database}");
JDBCDriver jdbc = getJDBCDriver(config, "mysql", "com.mysql.cj.jdbc.Driver", "com.mysql.cj", "9.1.0", "jdbc:mysql://{host}:{port}/{database}");
MYSQL = new DataSourceDefintion(jdbc.cd, jdbc.connStr, 3306);
}
return MYSQL;
Expand Down
2 changes: 1 addition & 1 deletion test/_setupTestServices.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ component {
return {
class: 'com.mysql.cj.jdbc.Driver'
, bundleName: 'com.mysql.cj'
, bundleVersion: server.getDefaultBundleVersion( 'com.mysql.cj', '8.3.0' )
, bundleVersion: server.getDefaultBundleVersion( 'com.mysql.cj', '9.1.0' )
, connectionString: 'jdbc:mysql://#mySQL.server#:#mySQL.port#/#mySQL.database#?useUnicode=true&characterEncoding=UTF-8&useLegacyDatetimeCode=true&useSSL=false' & arguments.connectionString
, username: mySQL.username
, password: mySQL.password
Expand Down

0 comments on commit 38357d7

Please sign in to comment.