MariaDB - one of the most popular database servers

Docker MariaDB - one of the most popular database servers

Screenshot 2020-12-11 at 17.33.18.png

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

In this tutorial, we are going to use this image: linuxserver/mariadb

In DSM go to Docker -> Registry and search for mariadb:

Screenshot 2020-12-11 at 17.38.16.png

Download the second result, linuxserver/mariadb image. Pick the latest image, when asked.

Once downloaded, go to the Image tab and double click on linuxserver/mariadb.

Click Advanced settings and Enable auto-restart (optional) in next screen.

In the Volume tab click on Add folder and create a folder on your NAS where the configuration files of the container will be located and set the Mount path to /config like this:

Screenshot 2020-12-11 at 17.45.47.png

Skip the Network tab.

In Port Settings tab set the local port number to any number (for instance, I set it to 3336):

Screenshot 2020-12-11 at 17.46.30.png

Skip the Links tab.

In Environmnent tab set the variables (click the + symbol):

MYSQL_ROOT_PASSWORDSet this to root password for installation (minimum 4 characters)
PGID< your groupID >
PUID< your userID >
TZ< your timezone >

Apply changes and save everything.

Now you can use the phpMyAdmin (covered in separate tutorial) to connect to MariaDB.
Related resources

Similar resources

phpMyAdmin - A web interface for MySQL and MariaDB SynoMan
0.00 star(s) 0 ratings