Syncing
kemit-the-frog opened this issue ยท 17 comments
When I try to sync across multiple servers (I'm testing with 2 servers), one server is working normal and i can ban, mute, ect. thru console but the other server just gets put into alarm mode and disables it self. Both configs are the same and I will attach them here. http://pastebin.com/JZs1LV4H (config)
Thanks
Kemit-the-frog
You shouldn't use the same database/tables for multiple servers. If you want to do global bans, you need to have separate local tables, and enable the "external" section of the config for shared tables.
You can certainly have the same database and tables for multiple servers under local
. BanManager supports syncing all punishments across servers.
What I don't understand is alarm mode
. Do you have any errors on startup? Can you post the BanManager output from the console?
Server 1: http://pastebin.com/CpfPpwSm
Server 2: http://pastebin.com/cQtk0fUX
Thanks
Could not create connection to database server. Attempted reconnect 10 times. Giving up.
Check your database credentials.
Yes, the problem is that if you ban a player on one server it does not carry over.
Your issue can not be solved by bm. You need to configure your databases properly to allow external access for your secondary server.
Your second server cannot connect to the mysql database. That is the
problem. Read the FAQ on the plugin page. It covers your issue.
On 24 Oct 2015 22:43, "kemit-the-frog" [email protected] wrote:
Could it be a different config file?
โ
Reply to this email directly or view it on GitHub
#432 (comment)
.
The database should work, I talked to my hosting company and they said "External access SHOULD work, but that is not something that we offer support for. Meaning that we have no intention of blocking it, but if it doesn't work for you then we won't do anything about it since it is not for a service owned through our company."
Thanks
@kemit-the-frog Check your Firewall then. Look at your logs! It has nothing to do with BanManager ๐
If you're really sure that this is a problem with BanManager, please send the results of
mysql -u <username> -p -h <ip/xxx.xxx.xxx.xxx>
executed at the root where it doesn't work.