Hello, I am using the MariaDB docker to make some databases for some of my local minecraft servers, one of them is using a plugin that creates a map of the world called dynmap. the issue is that after the server starts up fine a few moments later I start seeing these errors of too many connections, then slowly the rest of the plugins that I used that also need a database start to complain about too many connections as well.
I tried to create a 'connections.cnf' file in '/mnt/user/appdata/mariadb-official/config' with
[mysqld]
max_connections=1000
but it doesn't seem to change anything, in adminer I can see the variables and it is still shown as the default value, I tried adding a space as well before and after the equals sign but it still did not change when restarting the mariadb docker
[13:57:54 ERROR]: [dynmap] SQLException: Tile read error
[13:57:54 ERROR]: [dynmap] ErrorCode: 0, SQLState=08001
[13:57:54 ERROR]: [dynmap] Message: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
[13:57:54 ERROR]: [dynmap] ConnectionString: jdbc:mysql://10.10.22.3:3306/server_dynmap?allowReconnect=true&autoReconnect=true
[13:57:54 ERROR]: [dynmap] CausedBy: Too many connections
[13:57:59 ERROR]: [dynmap] SQLException: Tile exists error
[13:57:59 ERROR]: [dynmap] ErrorCode: 0, SQLState=08001
[13:57:59 ERROR]: [dynmap] Message: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
[13:57:59 ERROR]: [dynmap] ConnectionString: jdbc:mysql://10.10.22.3:3306/server_dynmap?allowReconnect=true&autoReconnect=true
[13:57:59 ERROR]: [dynmap] CausedBy: Too many connections