Wont enable?
Alethars opened this issue ยท 1 comments
Issue report
Tell us about your environment
-
Server Software: x2 Xeon E5-2670v2, DDR4 ECC RAM, And 1Gbps Connection
-
Server Version: Craftbukkit version git-Spigot-596221b-2c5c611 (Latest release possible)
-
BanManager Version: 5.15.0-SNAPSHOT
-
Online/Offline mode: online
-
Bungeecoord online/offline mode (if applicable):
BanManager config.yml:
Ensure you mask/remove any MySQL credentials!
Describe your issue: Wont enable, what have I done wrong?
Console Log: https://pastebin.com/9QMTWe5b
mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 10 times. Giving up.
Either your database is not reachable or your MySQL credentials are wrong.
I noticed you entered an IPv4 address as host
other than localhost
or 127.0.0.1
. Therefore I assume your MySQL server is running externally. Make sure it is reachable from the outside which is a non-default setting. Ask your provider if in doubt.
The other possibility is that the given IPv4 address is actually the same address which providing the Minecraft as well as the MySQL server. In this case it is wise to keep MySQLds' default settings and not allowing remote connection if not necessary.
However this will prevent connections to this address even though they are internal as the MySQLd does not listen to the external IP address. To solve this problem use localhost
or 127.0.0.1
as host
.