TechnicallyCoded / Inventory-Rollback-Plus

Spigot/Bukkit plugin that allows server moderators to restore player items and data from backups.
https://www.spigotmc.org/resources/85811/
Other
78 stars 44 forks source link

MySQL not working #62

Closed PRONIIX27 closed 2 years ago

PRONIIX27 commented 2 years ago

When I activate mysql and fill in all the fields for connect, an error appears in the console and the database does not work, it only happens with this plugin. I am using the latest version which is compatible with 1.18.

TechnicallyCoded commented 2 years ago

Well, are the changes actually in the file and is the database marked as enabled? It is impossible for me to help you without additional information like logs and server configurations.

PRONIIX27 commented 2 years ago

Yes, both things are done

TechnicallyCoded commented 2 years ago

Could you provide logs please.

PRONIIX27 commented 2 years ago

ok this might help you error

PRONIIX27 commented 2 years ago

config The database is created with xampp, using inventory_rollback for the name and utf8mb4_general_ci for the database. All the other plugins connect to the database without any problem, it's only with this.

TechnicallyCoded commented 2 years ago

image

Please read the error, you are using SSL for a locahost database. Set use-SSL: false

TechnicallyCoded commented 2 years ago

Additionally, when people ask for logs it's usually better to use paste services like pastebin or hastebin. People can't copy paste, search for, or easily read out of images.

For search indexing purposes the error you have here is: java.sql.SQLNonTransientConnectionException: SSL Connection required, but not provided by server.

PRONIIX27 commented 2 years ago

Thank you very much for the support, it works now, and sorry for the inconvenience and for my misinformation.