DevLeoko / AdvancedBan

AdvancedBan is a Spigot plugin to manage punishments on single servers and server networks
GNU General Public License v3.0
165 stars 131 forks source link

MySQL doesn't connect #532

Open arnon001 opened 3 years ago

arnon001 commented 3 years ago

What version of AdvancedBan (/AdvancedBan) are you using? AdvancedBan-Bundle-2.3.0-RELEASE.jar

What kind of server do you have (Bungeecord/single server)? BungeeCord

What server version (/version) are you using? paper-1.8.8-443.jar 1.8.8-R0.1-SNAPSHOT

Any error/log post it through pastebin.com and link it here. (Also include /plugins/AdvancedBan/logs/latest.log) AB config.yml: arnon001.github.io/ab.yml

Add any additional information below. the MySQL IP Is The Pterodactyl MySQL ip... (its LocalHost)

mrhelium3 commented 3 years ago

Im having the same issue.

arnon001 commented 3 years ago

They Don't Like helping... I Cant Fix This And Its Like They do not care

Hopefuls commented 3 years ago

They Don't Like helping... I Cant Fix This And Its Like They do not care

We do help people, you just never provided any logs as we cannot determine it being an issue with the plugin or your MySQL server.

mrhelium3 commented 3 years ago

Sorry about that. Here is all my servers info.

What version of AdvancedBan (/AdvancedBan) are you using? AdvancedBan-Bundle-2.3.0-RELEASE.jar

What kind of server do you have (Bungeecord/single server)? BungeeCord (waterfall)

What server version (/version) are you using? paper-1.8.8-443.jar 1.8.8-R0.1-SNAPSHOT

Any error/log post it through pastebin.com and link it here. (Also include /plugins/AdvancedBan/logs/latest.log)

https://pastebin.com/cJ5h8LNB unknown

[latest.log](https://github.com/DevLeoko/AdvancedBan/files/7365685/latest.log

Add any additional information below. the MySQL IP Is through pterodactyl

tobgen commented 3 years ago

@arnon001 I do not think this is a plugin error, it is something with your config. Either your mysql-server is not listening to the correct IP, or there is something else that is wrong. your config points towards 172.18.0.1, My guess is that mysql is only listening on 127.0.0.1 or something similar.

The plugin works like a charm with mysql, I have been running it since forever.

I did some reading on https://pterodactyl.io/ Seems like they use docker to run the actual minecraft-server, so, you need to lookup how docker works, and check your mysql/mariadb-server config, because Im 99.99% sure that this error is caused by your setup and nothing else.

Good luck Sir.

// T