#Can't get Dynmap to connect to mysql database
1 messages · Page 1 of 1 (latest)
Thank you! Please provide any errors you are experiencing and upload your configuration.txt. Someone from our <@&801354402010628138> team will respond to help shortly. As a general reminder, everyone on our support team is a volunteer, please be kind!
(optional) Please upload your configuration.txt to https://pastebin.org and send us the link. BE SURE TO REMOVE PASSWORDS
my minecraft log:
https://pastebin.com/LeYd1tAp
my dynmap config for mysql (Opened port 3306 in firewall)
https://pastebin.com/xjz2yCun
mysql setup following guide (https://github.com/webbukkit/dynmap/wiki/[Tutorial]-Setting-up-a-standalone-web-server-with-MySQL-SQLite/)
The exact user details were used like how demonstrated on the guide example
Localhost is not an ip, but can also be a socket. try the internal ip of the server and connect using that
Can you yourself connect from the server that runs dynmap connect to MySQL?
Could u explain what u mean by that?
Both mysql and minecraft server share the same pc
and you are not using something like pterodactyl or docker?
see if you can login using mysql -u minecraftserver -p
i use docker
for my minecraft server
then you also need to open the firewall from the mysql server to the outside, and you cannot then use localhost as that is inside the docker container
"then you also need to open the firewall from the mysql server to the outside"
How do i exactly do so?
"you cannot then use localhost as that is inside the docker container"
What would i use? my ip?
Yes, the docker MySQL ip: https://stackoverflow.com/questions/17157721/how-to-get-a-docker-containers-ip-address-from-the-host