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
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
Skip the Network tab.
In Port Settings tab set the local port number to any number (for instance, I set it to 3336):
Skip the Links tab.
In Environmnent tab set the variables (click the + symbol):
|MYSQL_ROOT_PASSWORD||Set 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
phpMyAdmin - A web interface for MySQL and MariaDB In this tutorial, we are going to use this image: phpmyadmin/phpmyadmin In DSM go to Docker -> Registry and search for phpmyadmin: Download the second result, phpmyadmin/phpmyadmin image...www.synoforum.comFirst, you need to SSH into your NAS. When you are in your NAS with the user you want the ID for, just type id and hit Enter. Now you'll get something like this: uid=1031(your_nas_user) gid=100(users) groups=100(users), 101(administrators)...www.synoforum.com