[Add Wiki Page] Dynmap MySQL Setup
See original GitHub issueI’d like to propose a Wiki page be added for setting up Dynmap with MySQL.
Instructions:
- Download the MySQL jar file from this URL: http://dev.mysql.com/downloads/connector/j/
- Unzip the downloaded file, rename the jar to ‘mysql.jar’ and move the file to ‘{minecraft base dir}/plugins/dynmap/mysql.jar’
- Edit your configuration.txt to appear similar to code the below (for lines 18-35)
3.1. Edit the database hostname, port, database, username, password, prefix to your appropriate values
3.2. Normally
hostname: localhost
&port: 3306
will not need to be changed 3.3.database
is the name of the MySQL schema, depending on your setup you will want to change that 3.4.prefix
is the text that gets applied to the names of the tables that Dynmap generates, useful if you only have one DB/Schema for your server - Start your Bukkit server and watch the magic happen
# Map storage scheme: only uncomment one 'type' value
# filetree: classic and default scheme: tree of files, with all map data under the directory indicated by 'tilespath' setting
# sqlite: single SQLite database file (this can get VERY BIG), located at 'dbfile' setting (default is file dynmap.db in data directory)
# mysql: MySQL database, at hostname:port in database, accessed via userid with password
storage:
# Filetree storage (standard tree of image files for maps)
#type: filetree
# SQLite db for map storage (uses dbfile as storage location)
#type: sqlite
#dbfile: dynmap.db
# MySQL DB for map storage (at 'hostname':'port' in database 'database' using user 'userid' password 'password' and table prefix 'prefix'
type: mysql
hostname: localhost
port: 3306
database: [DB name]
userid: [Username]
password: [Password]
prefix: ""
Issue Analytics
- State:
- Created 7 years ago
- Comments:7
Top Results From Across the Web
How to Setup Dynmap with MySQL - Knowledgebase
How to Setup Dynmap with MySQL Print · 1. Go on your control panel and start by ensuring Dynmap has been installed and...
Read more >How to install and configure Dynmap - DedicatedMC
Step 1: Download the Dynmap jar from the official SpigotMC page. Step 2: Install the Dynmap plugin jar onto your server in the...
Read more >How to Install the Dynmap Plugin in Minecraft - Apex Hosting
How to install Dynmap · Go to the official Dynmap page on Bukkit or Spigot and click on the File tab. · Find...
Read more >Setting up Dynmap on a Standalone Webserver using SSL ...
The config variable is meant to come from a script, standalone/config.js. I assume the RewriteRule /maps/build/standalone/(.*) http://localhost: ...
Read more >Dynmap - Bloom Docs
Spigot/Paper: Download the Dynmap plugin and place into the plugins folder then restart your server to generate configuration.txt . Create a MySQL database....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Well, when I tested MySQL (not vanilla) against file tree it was something like 3-5x faster loading the tiles just by seeing how quickly the tiles showed up.
But I figured that boost ain’t necessarily needed, and made it a whole lot harder to touch the files, not to mention require increasingly more RAM to keep the performance up, so we went back to file tree.
And that’s assuming you can conf the MySQL Server correctly to use the available resources.
I don’t see why it wouldn’t