LuckPerms

LuckPerms

41.4k Downloads

Potential compatibility issue with MySQL 8

Tommakazi opened this issue · 4 comments

commented

I did a fresh install of LuckPerms on Ubuntu 20 with Bungeecord, Spigot, and MySQL 8. The only DB tables that were created were "messages" and "user_permissions". I looked into the MySQL.sql DB Schema for LuckPerms and found that the "tracks" table uses "groups" as a column name and "groups" is a reserved word in MySQL 8 and therefore cannot be used in this way. I am not sure what else this may affect, but it seems that MySQL 8 is not compatible with the current version of LuckPerms.

commented

Thanks for the report, but I'm not sure that's actually the cause. I've used LP with MySQL 8 with no problems before.

Try deleting all LP tables and restarting the server to see if they generate correctly.

commented
commented
commented

I believe this has been fixed by 00d4a2a

I've confirmed that groups has been correctly escaped in all places, so even though it is a reserved keyword it should be fine!