JDBC warning message: "..... The new driver class is `com.mysql.cj.jdbc.Driver'...."
41 views (last 30 days)
I have configured a JDBC data source successfully. There is no problem of reading in a database from the data source.
However, when I was doing
I received a warning message
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.
According to what I google for a possible explanation, it seems that Oracle has changed the name of the driver class. There is a good explanation offered at Stackoverflow. The warning message is just a warning, and I can still successfully connect with the MySQL server. I was just wondering whether Matlab should update the driver class name accordingly in its codes.