MariaDB¶
What is it?¶
MariaDB MariaDB Server is one of the most popular open source relational databases. It’s made by the original developers of MySQL and guaranteed to stay open source.
Details | |||
---|---|---|---|
Project home | Docs | Github | Docker |
1. Installation¶
sb install mariadb
2. Setup¶
Info
The default password for this container is password321
To easily manage the db, consider adminer
Migration Notes¶
Saltbox recently swapped Docker images used for MariaDB. The migration path that is run for a default mariadb
instance is roughly as follows:
- Dump all data to a dump.sql file
- Move
/opt/mariadb
to/opt/mariadb_legacy
- Provision a new
mariadb
container - Import the dump.sql file
The dump file remains on disk at /opt/mariadb_legacy/dump.sql
post-migration in the event manual intervention is required and the appdata for the legacy image remains on disk at /opt/mariadb_legacy
.