Skip to content

Commit

Permalink
bump MariaDB version
Browse files Browse the repository at this point in the history
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/
  • Loading branch information
meonkeys authored and adamsaghy committed Oct 29, 2024
1 parent f92290b commit b053c90
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

<br>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.<br>

Expand Down
2 changes: 1 addition & 1 deletion config/docker/compose/mariadb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/fineractmysql-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ spec:
tier: fineractmysql
spec:
containers:
- image: mariadb:11.2
- image: mariadb:11.4
name: mysql
resources:
requests:
Expand Down

0 comments on commit b053c90

Please sign in to comment.