BlackDemonZyT / BotSentry

Official repository for Bot-Sentry issues, information, etc..
6 stars 0 forks source link

Bug: MySQL Error Code 0 - Velocity #113

Closed Greazi-Times closed 11 months ago

Greazi-Times commented 1 year ago

Server Info (please complete the following information):

Plugin Info (please complete the following information):

Describe the bug When starting up the server it gives a MySQL Error Code 0 error that repeats every x amount of time. Because of this it doesn't get the information from the database.

To Reproduce Steps to reproduce the behavior:

  1. Configure a database
  2. Reload/Restart the proxy
  3. Wait for BotSentry loading message
  4. See error

Expected behavior Connect to the database

Greazi-Times commented 1 year ago

image As shown in the image it says that a class is deprecated and a new class needs to be used.

gamer50082 commented 1 year ago
[00:39:02 ERROR]: 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.
Laurenshup commented 11 months ago

This is now fixed within the code, which will be uploaded in the next version.