You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use pebblehost. They provide MySQL databases, but the server has max_allowed_packet set to 16777216 (16M), and we cannot raise it. Bluemap tries to send packets of 25 M. Short of modifying the JDBC driver directly, I'm unsure how to set the client-side limit. I want Bluemap to consider exposing it in its config if there is one. Currently, I cannot use SQL storage on my host due to this constraint. Not the end of the world, though. If it's impossible, I don't know the limitations of the JDBC driver (I'm using a forge/neoforge mod that wraps the vanilla MySQL driver jar).
The text was updated successfully, but these errors were encountered:
BlueMap already exposes the entire jdbc-config by allowing you to set both the full jdbc-string (connection-url) and the properties (connection-properties) that it passes to the jdbc-driver.
The only file - unless you turned compression off - bluemap saves to the db that could theoretically somehow reach sizes of 25M is the textures.json containing all the texture-data. So if you have a very high-resolution resourcepack or a ton of mods that add new textures, then this file gets bigger.
I read of ways to split a single blob INSERT/REPLACE into multiple packets when sending it to the server, i will take a look if thats possible to implement.
Other then that, right now your only options are to increase that value on the server, or somehow reduce the texture-atlas size, by removing the high-resolution resourcepack or loading less modded textures with bluemap.
It's just the ATM10 mod pack, no modifications besides adding bluemap. And I just let bluemap alone with its default settings except for SQL obviously. Did I miss a setting to exclude specific resource packs from blue map's discovery? Maybe store the atlas in per-pack shards and assemble it at runtime?
TBlueF
changed the title
[Question/Feature] max_allowed_packet setting
Improve sql-storage tile writing to allow the sql-driver to split network-packages
Jun 3, 2025
I use pebblehost. They provide MySQL databases, but the server has max_allowed_packet set to 16777216 (16M), and we cannot raise it. Bluemap tries to send packets of 25 M. Short of modifying the JDBC driver directly, I'm unsure how to set the client-side limit. I want Bluemap to consider exposing it in its config if there is one. Currently, I cannot use SQL storage on my host due to this constraint. Not the end of the world, though. If it's impossible, I don't know the limitations of the JDBC driver (I'm using a forge/neoforge mod that wraps the vanilla MySQL driver jar).
The text was updated successfully, but these errors were encountered: