mlus-asuka / PlayerSync

This is a Minecraft forge mod using Mysql backend to make player data synchronization between different servers.
GNU General Public License v3.0
5 stars 1 forks source link

Allow the setting of db #18

Closed killbot24 closed 3 months ago

killbot24 commented 3 months ago

Hello, Could you allow to set the name of the database From the hardcoded player sync to one we enter

This is the db name not the table

mlus-asuka commented 3 months ago

which version are you using

killbot24 commented 3 months ago

1.18.2

mlus-asuka commented 3 months ago

well,let's try this one. https://github.com/mlus-asuka/PlayerSync/actions/runs/9414920908

killbot24 commented 3 months ago

[10:59:57] [Server thread/ERROR] [ne.mi.ev.EventBus/EVENTBUS]: Exception caught during firing event: No suitable driver found for jdbc:mysql://**?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true

Ip removed.

mlus-asuka commented 3 months ago

[10:59:57] [Server thread/ERROR] [ne.mi.ev.EventBus/EVENTBUS]: Exception caught during firing event: No suitable driver found for jdbc:mysql://**?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true

Ip removed.

So,this exception didn't exist in the former version?

killbot24 commented 3 months ago

No.

mlus-asuka commented 3 months ago

No.

hmm. As you can see, I only change a few part and those has nothing to do with connection driver. But this problem is due to environment setup and there are so many reasons would cause that.

killbot24 commented 3 months ago

Tryed useing the all one Got [11:22:34] [Server thread/ERROR] [ne.mi.ev.EventBus/EVENTBUS]: Exception caught during firing event: Access denied for user ' to database 'playersync' [11:22:37] [Server thread/ERROR] [ne.mi.ev.EventBus/EVENTBUS]: Exception caught during firing event: Table 's5009_PlayerSync.server_info' doesn't exist

mlus-asuka commented 3 months ago

https://github.com/mlus-asuka/PlayerSync/actions/runs/9416292359 forgot to init database

killbot24 commented 3 months ago

That fixed it!