MySQL problem with plugins

So, I host a minecraft server with two plugins that use mysql as a option, my console has a error saying “[16:18:03 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.” how do I fix this? Ive asked reddit before and according to them nothing can help

ask the author of the plugin causing issues to not use deprecated methods

what do you mean by deprecated methods?

The developer of the plugin is using code that is deprecated in newer versions of MySQL and will have to modify it to remove that error.