From b053c90009be26fc7fb218af1c433b7fd7cebe9a Mon Sep 17 00:00:00 2001 From: Adam Monsen Date: Mon, 28 Oct 2024 15:36:22 -0700 Subject: [PATCH] bump MariaDB version EOL for 11.2 is coming up in a few weeks, see: https://mariadb.org/about/#maintenance-policy I upgraded my local MariaDB dev database to 11.4 and performed a few cursory GETs and PUTs via the Fineract API--just what I've learned to do so far. Nothing broke. I didn't run all the tests though. I didn't see any obvious red flags in https://mariadb.com/kb/en/changes-improvements-in-mariadb-11-4/ --- README.md | 6 +++--- config/docker/compose/mariadb.yml | 2 +- kubernetes/fineractmysql-deployment.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 57d2da7358b..11bdfc37ebe 100644 --- a/README.md +++ b/README.md @@ -22,15 +22,15 @@ If you are interested in contributing to this project, but perhaps don't quite k REQUIREMENTS ============ * `Java >= 17` (Azul Zulu JVM is tested by our CI on GitHub Actions) -* MariaDB `11.2` +* MariaDB `11.4` You can run the required version of the database server in a container, instead of having to install it, like this: - docker run --name mariadb-11.2 -p 3306:3306 -e MARIADB_ROOT_PASSWORD=mysql -d mariadb:11.2 + docker run --name mariadb-11.4 -p 3306:3306 -e MARIADB_ROOT_PASSWORD=mysql -d mariadb:11.4 and stop and destroy it like this: - docker rm -f mariadb-11.2 + docker rm -f mariadb-11.4
Beware that this database container database keeps its state inside the container and not on the host filesystem. It is lost when you destroy (rm) this container. This is typically fine for development. See [Caveats: Where to Store Data on the database container documentation](https://hub.docker.com/_/mariadb) re. how to make it persistent instead of ephemeral.
diff --git a/config/docker/compose/mariadb.yml b/config/docker/compose/mariadb.yml index 2c56ec15553..6756974f784 100644 --- a/config/docker/compose/mariadb.yml +++ b/config/docker/compose/mariadb.yml @@ -18,7 +18,7 @@ version: "3.8" services: mariadb: container_name: mariadb - image: mariadb:11.2 + image: mariadb:11.4 volumes: - ${PWD}/config/docker/mysql/conf.d/server_collation.cnf:/etc/mysql/conf.d/server_collation.cnf:ro - ${PWD}/config/docker/mysql/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d:Z,ro diff --git a/kubernetes/fineractmysql-deployment.yml b/kubernetes/fineractmysql-deployment.yml index 582e3d2002a..a0b4b35f724 100644 --- a/kubernetes/fineractmysql-deployment.yml +++ b/kubernetes/fineractmysql-deployment.yml @@ -86,7 +86,7 @@ spec: tier: fineractmysql spec: containers: - - image: mariadb:11.2 + - image: mariadb:11.4 name: mysql resources: requests: