Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-12059

Update references of deprecated com.mysql.jdbc.Driver

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 13.3.0
    • 13.4.0
    • None
    • None
    • Flagged
    • Pulsar
    • Platform 213 SSO Delivery 3, Platform 215, Platform 216 - Finish SSO!

    Description

      MySQL Connector/J version 8 deprecates com.mysql.jdbc.Driver in favor of com.mysql.cj.jdbc.Driver, see https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-api-changes.html.

      Since the default Dockerfile has
         ENV MYSQL_DB_DRIVER com.mysql.jdbc.Driver 
      it produces on startup:

      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.

      There's also a reference in https://documentation.bloomreach.com/library/deployment/set-environment-specific-configuration-with-docker.html

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jhoffman Jeroen Hoffman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: