LuckPerms

LuckPerms

41.4k Downloads

BungeeCord MySQL Error

MCMDEV opened this issue ยท 11 comments

commented

Im just setting up a small BungeeCord Network on my localhost using one spigot server and one bungeecord server. I have typed the MySQL information into both servers. When i create a database and start the proxy i get this error:
https://pastebin.com/PsJAc5rX

Im using LuckPerms 4.3.60

commented

Seems to be related to this commit.

2cb5e43

I'm not really sure what to do to fix it though. Could revert I guess?

commented

Errors goes away after creating all tables, meaning after restart it will "fix" it self. Changing that version did not effect it. try truncating whole db and error will come back

commented

I now switched on version 4.3.61 and it it doesn't occur currently on that version. Maybe it fixed itself?

commented

I too have this same issue.... If database is empty, issue exists when new tables are generated. After tables are generated, upon a reboot of the server, the console will no longer show the severe issues. Shutting down server, then dropping all tables on DB, booting server back up will result in the issue surfacing again.

Also, I am experiencing this on the BungeeCord server (haven't tested this on main servers just yet).

commented

Lastly - I've confirmed this issue is not present on this version:

https://ci.lucko.me/view/LuckPerms/job/LuckPerms/829/

commented

Will hopefully be fixed by c4154c0

Would one of you guys mind dropping your DBs again and testing using the latest version?
https://ci.lucko.me/job/LuckPerms/839/

commented

Dropped my DB tables, tested with your latest version and the issue seems to be corrected. Here's the console output (no errors):

https://paste.md-5.net/nexederuqi.tex

commented

Well done u just wasted your 5 minutes :DD someone did it already

commented

Are there any where clauses for the permission column? Because if so there definitely should be an index.
I think a fulltext Index could work here.

commented

Anyway, seems to be fixed, so will close. :)

commented

There are some lookups by permission, but they are only for the /lp search, /lp group <g> listmembers and bulkupdate commands.

Not really worth having an index for imo.