From 80fb388847b29a5acea946051de92d37ac6d2f55 Mon Sep 17 00:00:00 2001 From: <> Date: Tue, 21 May 2024 07:50:11 +0000 Subject: [PATCH] Deployed f1c30646 with MkDocs version: 1.6.0 --- images/docker-mariadb/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/images/docker-mariadb/index.html b/images/docker-mariadb/index.html index fee02bd1c9..6d288d5e92 100644 --- a/images/docker-mariadb/index.html +++ b/images/docker-mariadb/index.html @@ -1,4 +1,4 @@ - mariadb - LinuxServer.io
Skip to content

linuxserver/mariadb

Scarf.io pulls GitHub Stars GitHub Release GitHub Package Repository GitLab Container Registry Quay.io Docker Pulls Docker Stars Jenkins Build LSIO CI

Mariadb is one of the most popular database servers. Made by the original developers of MySQL.

mariadb

Supported Architectures

We utilise the docker manifest for multi-platform awareness. More information is available from docker here and our announcement here.

Simply pulling lscr.io/linuxserver/mariadb:latest should retrieve the correct image for your arch, but you can also pull specific arch images via tags.

The architectures supported by this image are:

Architecture Available Tag
x86-64 amd64-<version tag>
arm64 arm64v8-<version tag>
armhf

Application Setup

If you didn't set a password during installation, (see logs for warning) use mariadb-admin -u root -p<PASSWORD> to set one at the docker prompt...

NOTE changing the MYSQL_ROOT_PASSWORD variable after the container has set up the initial databases has no effect, use the mysqladmin tool to change your mariadb password.

NOTE if you want to use (MYSQL_DATABASE MYSQL_USER MYSQL_PASSWORD) all three of these variables need to be set you cannot pick and choose.

Unraid users, it is advisable to edit the template/webui after setup and remove reference to this variable.

Find custom.cnf in /config for config changes (restart container for them to take effect) , the databases in /config/databases and the log in /config/log/myqsl

Loading passwords and users from files

The MYSQL_ROOT_PASSWORD MYSQL_DATABASE MYSQL_USER MYSQL_PASSWORD REMOTE_SQL env values can be set in a file:

/config/env
+ mariadb - LinuxServer.io      

linuxserver/mariadb

Scarf.io pulls GitHub Stars GitHub Release GitHub Package Repository GitLab Container Registry Quay.io Docker Pulls Docker Stars Jenkins Build LSIO CI

Mariadb is one of the most popular database servers. Made by the original developers of MySQL.

mariadb

Supported Architectures

We utilise the docker manifest for multi-platform awareness. More information is available from docker here and our announcement here.

Simply pulling lscr.io/linuxserver/mariadb:latest should retrieve the correct image for your arch, but you can also pull specific arch images via tags.

The architectures supported by this image are:

Architecture Available Tag
x86-64 amd64-<version tag>
arm64 arm64v8-<version tag>
armhf

Application Setup

If you didn't set a password during installation, (see logs for warning) use mariadb-admin -u root -p<PASSWORD> to set one at the docker prompt...

NOTE changing the MYSQL_ROOT_PASSWORD variable after the container has set up the initial databases has no effect, use the mysqladmin tool to change your mariadb password.

NOTE if you want to use (MYSQL_DATABASE MYSQL_USER MYSQL_PASSWORD) all three of these variables need to be set you cannot pick and choose.

Unraid users, it is advisable to edit the template/webui after setup and remove reference to this variable.

Find custom.cnf in /config for config changes (restart container for them to take effect) , the databases in /config/databases and the log in /config/log/myqsl

Loading passwords and users from files

The MYSQL_ROOT_PASSWORD MYSQL_DATABASE MYSQL_USER MYSQL_PASSWORD REMOTE_SQL env values can be set in a file:

/config/env
 

Using the following format:

MYSQL_ROOT_PASSWORD="ROOT_ACCESS_PASSWORD"
 MYSQL_DATABASE="USER_DB_NAME"
 MYSQL_USER="MYSQL_USER"
@@ -66,4 +66,4 @@
   --pull \
   -t lscr.io/linuxserver/mariadb:latest .
 

The ARM variants can be built on x86_64 hardware using multiarch/qemu-user-static

docker run --rm --privileged multiarch/qemu-user-static:register --reset
-

Once registered you can define the dockerfile to use with -f Dockerfile.aarch64.

Versions

  • 23.12.23: - Rebase to Alpine 3.19.
  • 09.06.23: - Update lc_messages path in shipped custom.cnf to match upstream.
  • 25.05.23: - Rebase to Alpine 3.18, deprecate armhf.
  • 04.02.23: - Minor updates to defaults in custom.cnf.
  • 31.01.23: - Rebase to 3.17.
  • 09.12.22: - Add upgrade check warning.
  • 11.10.22: - Rebase master to Alpine 3.16, migrate to s6v3, remove password escape logic which caused problems for a small subset of users.
  • 06.07.21: - Rebase master to alpine.
  • 03.07.21: - Rebase to 3.14.
  • 08.02.21: - Fix new installs.
  • 08.02.21: - Rebase to alpine. Add mariadb-backup.
  • 08.02.21: - Release alpine tag. The alpine release will replace the latest tag in the near future.
  • 27.10.19: - Bump to 10.4, ability use custom sql on initial init ,defining root passwords via file.
  • 23.03.19: - Switching to new Base images, shift to arm32v7 tag.
  • 07.03.19: - Add ability to setup a database and default user on first spinup.
  • 26.01.19: - Add pipeline logic and multi arch.
  • 10.09.18: - Rebase to ubuntu bionic and use 10.3 mariadb repository.
  • 09.12.17: - Fix continuation lines.
  • 12.09.17: - Gracefully shut down mariadb.
  • 27.10.16: - Implement linting suggestions on database init script.
  • 11.10.16: - Rebase to ubuntu xenial, add version labelling.
  • 09.03.16: - Update to mariadb 10.1. Change to use custom.cnf over my.cnf in /config. Restructured init files to change config options on startup, rather than in the dockerfile.
  • 26.01.16: - Change user of mysqld_safe script to abc, better unclean shutdown handling on restart.
  • 23.12.15: - Remove autoupdating, between some version updates the container breaks.
  • 12.08.15: - Initial Release.
\ No newline at end of file +

Once registered you can define the dockerfile to use with -f Dockerfile.aarch64.

Versions

  • 23.12.23: - Rebase to Alpine 3.19.
  • 09.06.23: - Update lc_messages path in shipped custom.cnf to match upstream.
  • 25.05.23: - Rebase to Alpine 3.18, deprecate armhf.
  • 04.02.23: - Minor updates to defaults in custom.cnf.
  • 31.01.23: - Rebase to 3.17.
  • 09.12.22: - Add upgrade check warning.
  • 11.10.22: - Rebase master to Alpine 3.16, migrate to s6v3, remove password escape logic which caused problems for a small subset of users.
  • 06.07.21: - Rebase master to alpine.
  • 03.07.21: - Rebase to 3.14.
  • 08.02.21: - Fix new installs.
  • 08.02.21: - Rebase to alpine. Add mariadb-backup.
  • 08.02.21: - Release alpine tag. The alpine release will replace the latest tag in the near future.
  • 27.10.19: - Bump to 10.4, ability use custom sql on initial init ,defining root passwords via file.
  • 23.03.19: - Switching to new Base images, shift to arm32v7 tag.
  • 07.03.19: - Add ability to setup a database and default user on first spinup.
  • 26.01.19: - Add pipeline logic and multi arch.
  • 10.09.18: - Rebase to ubuntu bionic and use 10.3 mariadb repository.
  • 09.12.17: - Fix continuation lines.
  • 12.09.17: - Gracefully shut down mariadb.
  • 27.10.16: - Implement linting suggestions on database init script.
  • 11.10.16: - Rebase to ubuntu xenial, add version labelling.
  • 09.03.16: - Update to mariadb 10.1. Change to use custom.cnf over my.cnf in /config. Restructured init files to change config options on startup, rather than in the dockerfile.
  • 26.01.16: - Change user of mysqld_safe script to abc, better unclean shutdown handling on restart.
  • 23.12.15: - Remove autoupdating, between some version updates the container breaks.
  • 12.08.15: - Initial Release.
\ No newline at end of file