Skip to content

[VIVO-1483] Use 5.1.46 mysql-connector-java dependency; match Vitro connection URL handling

backups requested to merge github/fork/gneissone/update-mysql-connector into master

Created by: gneissone

JIRA VIVO 1483

This updates the mysql-connector-java dependency to the latest (8.0.11) 5.1.46 and brings it in line with Vitro assuming pull request 69 is merged. Tested both jena2tools and jena3tools working, though the updated connector throws a couple warnings.

$ java -jar jena2tools-1.1.1.jar -d /usr/local/vivodev/home -e

Loading class 'com.mysql.jdbc.Driver'. This is deprecated. The new driver class is 'com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.

Fri Apr 27 14:36:28 MDT 2018 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.

Writing Configuration Writing Content Export complete (Note: warnings described were from 8.0.11, we are reverting to 5.1.46 which is the latest in the 5 version line).

Merge request reports