dynmap icon indicating copy to clipboard operation
dynmap copied to clipboard

Fabric 1.20 MySQL driver not found

Open p0t4t0sandwich opened this issue 1 year ago • 5 comments

template is bold sample data is italicized

Issue Description: * Message: No suitable driver found for jdbc:mysql://172.16.1.172...*

  • Dynmap Version: v3.6-beta-1 for Fabric v1.20-1.20.1
  • Server Version: Fabric 1.20
  • Pastebin of Configuration.txt: https://pastebin.com/B5SqxT01
  • Server Host (if applicable): Selfhosted
  • Pastebin of crashlogs or other relevant logs: n/a
  • Other Relevant Data/Screenshots: Resolved after adding this MySQL driver mod (still not a viable solution, given it's no longer on CurseForge, the dependency should be shaded for Forge/Fabric)
  • Steps to Replicate: Connect Dynmap to MySQL and start the server

[x] I have looked at all other issues and this is not a duplicate
[x] I have been able to replicate this

p0t4t0sandwich avatar Jun 14 '23 03:06 p0t4t0sandwich

https://github.com/webbukkit/dynmap/wiki/Configuration.txt#fabric--forge

JurgenKuyper avatar Jun 14 '23 05:06 JurgenKuyper

Sorry, you remind me I should restore the project on Curseforge.

kosma avatar Jun 14 '23 17:06 kosma

Mod restored on Curseforge: https://legacy.curseforge.com/minecraft/mc-mods/mysql-jdbc

I also am inclined to agree that it should be shaded. I'll see if we can do it.

kosma avatar Jun 14 '23 17:06 kosma

If it doesn't get shaded, I would suggest the maintainer of the Dynmap modpage should link the mysql-jdbc mod somewhere visible.

I'm someone who has only used the Spigot plugin, so I didn't know this was stated in the wiki. Safe to assume that there will be more issues on this topic from other people who miss the guide, so it would be more of a preventative measure. (I only knew about kosma's mod because I needed it while working on a Forge-hybrid plugin awhile back)

p0t4t0sandwich avatar Jun 15 '23 00:06 p0t4t0sandwich

@kosma how is the shading check going?

JurgenKuyper avatar Sep 28 '23 20:09 JurgenKuyper