#How do I access the dynmap files from the sql database?

1 messages · Page 1 of 1 (latest)

cerulean raven
#

Hello, I am very new to mysql databases and I wanted to know how can I retrieve the dynmap files from it. I am using pterodactyl panel (if that helps)

sand mangoBOT
#

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

knotty wraith
#

There's additional guides on the GitHub Wiki for setting up a web server alongside a MySQL database that you can follow along with

#

As for retrieving any already rendered Dynmap files and storing the tiles inside of a MySQL database, you will have to re-render (i.e. initiate a full render) of the world after it has been connected to the MySQL database

#

As an experimental option, please refer to this post: #1120398757662560417 message

#

Albeit, that's a more advanced and unsupported option, please keep in mind that there is currently no method of conversion of said Dynmap files directly into a MySQL database at this time

#

If you're planning on migrating or backing up said Dynmap data or tiles from a SQL database to say another SQL database or to a remote site, you can simply backup the SQL database by following an online tutorial for your associated type of database (i.e. MySQL/PostgreSQL)

#

If you're utilizing a hosting provider, they may be able to offer support with how to backup your SQL database, otherwise you will likely require command-line access to the SQL database via a SQL client of some sort or another in order to initiate a manual backup

#

I do not believe Pterodactyl Panel supports database backups at this time either, though you can certainly ask them about that within their Discord server

cerulean raven
#

Wow, thanks for the answer. So currently there's no official way to get the files from the database and transfer it to a different database?

knotty wraith
#

No problem. You can backup a database, whichever kind you're using, and import it into a new database of the same type, though that's out of the scope of Dynmap, heh

#

You will have to Google a tutorial on how to do that

#

After that, you will have to reconnect the new database to your Minecraft server and web server (i.e. Dynmap; NGINX/Apache2)

#

I was originally under the impression that you wanted to convert your pre-existing Dynmap files into a database, however it sounds like you simply want to migrate your pre-existing Dynmap data that's already in your database to a new database?

#

Either way, the resources above should help you in both cases :)

cerulean raven
#

Ah got it, thank you for such an in-depth response for my dumb question lol

sand mangoBOT
#

This support thread has been archived due to inactivity. Click the button below to reopen it.