DiscordSRV

DiscordSRV

86.8k Downloads

MySQL JDBC driver class com.mysql.jdbc.Driver is deprecated.

andrewkm opened this issue ยท 1 comments

commented

Expected behavior

No error on startup.

Actual behavior

[12:10:02] [DiscordSRV - Initialization/ERROR]: [STDERR] [com.mysql.jdbc.Driver] 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.

Steps to reproduce

Paper 1.20.6 Build 115
DiscordSRV compiled against: cfef295
Configuration: https://pastebin.com/3RRqiRfD
MySQL: 8.0.37

Server software and version

Paper-115 (1.20.6)

Checks

  • I am not using an outdated version of DiscordSRV.
  • I asked in DiscordSRV's Discord server to see whether this issue is in fact a bug that needs to be fixed.
  • I didn't actually check any of these things

Anything else

More information upon request.

commented

Duplicate of #1678