Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-33384

MySQL JDBC driver is deprecated

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Table SQL / JDBC
    • None

    Description

      I see when running tests on the JDBC connector, I get a warning

      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.
       

      I suggest we change the class to be loaded from the old to the new non deprecated class name.

       

      I am happy to implement this and do testing on it. 

      Attachments

        Activity

          People

            davidradl david radley
            davidradl david radley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: