Ignore:
Timestamp:
Nov 5, 2018, 1:09:42 PM (4 years ago)
Author:
Nicklas Nordborg
Message:

References #2130: Upgrade 3-rd party libraries

Updated MySQL JDBC driver to version 8.0.13. The main driver class has changed so this requires a configuration change in base.config: db.driver = com.mysql.cj.jdbc.Driver.

They have also changed the default value for nullCatalogMeansCurrent from true to false, which is affecting the installation since it will check and try to create things in other databases than what is specified in the connection URL. I think we have to update our code so that we always supply the current database name instead of null

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/config/dist/base.config

    r7494 r7518  
    2929# -----
    3030db.dialect          = org.hibernate.dialect.MySQL5InnoDBDialect
    31 db.driver           = com.mysql.jdbc.Driver
    32 db.url              = jdbc:mysql://localhost/base2?characterEncoding=UTF-8&useCursorFetch=true&defaultFetchSize=100&useServerPrepStmts=true
     31db.driver           = com.mysql.cj.jdbc.Driver
     32db.url              = jdbc:mysql://localhost/base2?characterEncoding=UTF-8&useCursorFetch=true&defaultFetchSize=100&useServerPrepStmts=true&nullCatalogMeansCurrent=true
    3333db.dynamic.catalog  = base2dynamic
    3434db.queries          = /mysql-queries.xml
Note: See TracChangeset for help on using the changeset viewer.