Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySQL - Not Connecting to DB #2024

Closed
jwshields opened this issue Dec 2, 2016 · 1 comment
Closed

MySQL - Not Connecting to DB #2024

jwshields opened this issue Dec 2, 2016 · 1 comment

Comments

@jwshields
Copy link

jwshields commented Dec 2, 2016

Hello all,
I looked around for some posts about this but am not seeing anything regarding an issue like mine...
I am running Bukkit 1.11, MC 1.11, Dynmap 2.3, MySQL 5.5.53, Debian 8;
I just configured dynmap to use mysql for map storage, after previously having it as filetree.

I created a schema/DB in MySQL, but nothing is being populated. I checked the mysql connection manager and see that dynmap is NOT making a db connection, but I don't see any complaints in my Bukkit startup log.
Any insight would be much appreciated, thanks!

Here's a pastebin of my config: https://pastebin.com/ZU4DXcnb
Here's a pastebin of my the startup log from bukkit: https://pastebin.com/45dfDBHL

EDIT: Other plugins such as "AutoWhitelist" and "Statistics" are talking to the DB just fine.
https://dev.bukkit.org/bukkit-plugins/statistics/
https://dev.bukkit.org/bukkit-plugins/autowhitelist/

@jwshields
Copy link
Author

Closing this issue ticket.

Fix:
Download the MySQL jar file from this URL: http://dev.mysql.com/downloads/connector/j/
Unzip it, rename the jar to 'mysql.jar' move this file to {minecraft}/plugins/dynmap/mysql.jar

After this, start the server with the MySQL config, it should automatically connect to the DB and start doing its magic.

Proposal: possibly make a change to dynmap to allow it to use the CraftBukkit/Spigot SQL driver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant