MariaDB Setup Guide - ajgillis04/GillisDockerDepot GitHub Wiki
MariaDB is a popular open-source relational database management system. It is a fork of MySQL and provides a robust and scalable database solution.
- Docker installed
- MariaDB container running in your Docker stack
- Open your terminal.
- Use the following command to access the MariaDB container:
⚠️ Hint: Bug #127 - Initial pass not working; performed password reset as initial fix.
docker exec -it mariadb.<HOST_NAME> /bin/bash
/usr/bin/mariadb-secure-installation
Steps:
- Push Enter.
- Enable unix_socket authentication? [Y/n]:
y
and press Enter. - Change the root password? [Y/n]:
y
and press Enter again. - Enter a password and press enter, and Re-enter new password, press enter
- Remove anonymous users? [Y/n]:
y
and press Enter. - Disallow root login remotely? [Y/n]:
n
and press Enter. - Remove test database and access to it? [Y/n]:
y
and press Enter. - Reload privilege tables now? [Y/n]:
y
and press Enter. - Exit.