games647 / FastLogin

Checks if a minecraft player has a valid paid account. If so, they can skip offline authentication automatically. (premium auto login)
https://www.spigotmc.org/resources/fastlogin.14153
MIT License
494 stars 121 forks source link

Driver doesn't accept JDBC URL #1100

Closed games647 closed 4 months ago

games647 commented 11 months ago

Using the latest velocity version and the latest fastlogin version I've made sure my database is configured correctly

The first picture appears when I use mysql The second picture appears when I use mariadb QQ图片20231007030352 QQ图片20231007030358

Originally posted by @LovelyGuYiMeng in https://github.com/games647/FastLogin/discussions/1099

games647 commented 11 months ago

@LovelyGuYiMeng Could you post the exact config for mariadb version and which exact version number of FastLogin you use. I checked the code and it should already do the correct behavior.

LovelyGuYiMeng commented 11 months ago

@LovelyGuYiMeng您能否发布 mariadb 版本的确切配置以及您使用的 FastLogin 的确切版本号。我检查了代码,它应该已经执行了正确的行为。

fastlogin is the last development version #1282 mariadb version is 10.11.5 and default config

games647 commented 11 months ago

Could you please post/upload the complete config for the MariaDB case. Just tested it again and it works for me.

Krakenied commented 11 months ago

Its now broken for custom drivers due to the lowercase https://github.com/games647/FastLogin/blob/70960661b43aa9a4688d6c46adbff5da809854ed/core/src/main/java/com/github/games647/fastlogin/core/storage/MySQLStorage.java#L51