Snap icon indicating copy to clipboard operation
Snap copied to clipboard

MySQL driver errors

Open Sylensky opened this issue 2 years ago • 5 comments

Used Version

snap 1.0-SNAPSHOT (build 27)

Config

{
   # configurate-hocon
   # The stats/metrics ID of this proxy, ideally the same as in the velocity.toml
   "stats-id" : "a6103779-beef-49f5-a4d3-8eff2900246b",
   # configurate-hocon
   # Whether to throw exceptions when accessing methods that aren't supported
   # Setting this to false makes them return sensible values but they might not be correct
   "throw-unsupported-exception" : true
}

Environment description

Velocity 3.1.2-SNAPSHOT (git-5ee96606-b136) Debian Linux

Full Log

(https://pastebin.com/egQP0a13)

What other programs/plugins are you running?

are shown in the log.

What is happening?

snap tries to load the plugins and some, especially with mysql databases faile due to missing library in snap? - I am not sure what happens there. Furthermore its not possible to join the server velocity links to.

What did you expect to happen?

To be able to join the server and see no logs.

Sylensky avatar Apr 20 '22 16:04 Sylensky

As far as I can tell all plugins that have an issue there natively support Velocity and all of them wouldn't work with Snap anyways without the MySQL driver error.

Of course there might indeed be some issue with the MySQL driver here. (Interestingly some plugins like AdvancedBan seem to load the driver just fine)

Phoenix616 avatar Apr 20 '22 16:04 Phoenix616

By looking further i found out i dont need luckperms/skinsrestorer/warpsystem/geyser to be loaded by snap as they can be run directly from velocity. As far as i checked dynamicbungeeauth doesnt support velocity.

Sylensky avatar Apr 20 '22 16:04 Sylensky

Well DynamicBungeeAuth would most likely not work with Snap anyways even without the MySQL error, I suggest asking the author for a native Velocity build.

Phoenix616 avatar Apr 20 '22 17:04 Phoenix616

Having the same issue with PremiumVanish on SNAP, since it does not have Velocity Support Just won't load HikariCP to connect to the database at all

JosTheDude avatar Aug 23 '22 14:08 JosTheDude

Having the same issue with PremiumVanish on SNAP, since it does not have Velocity Support Just won't load HikariCP to connect to the database at all

Please provide the log in your case.

Phoenix616 avatar Aug 23 '22 14:08 Phoenix616