mariadb-install-db initializes the MariaDB data directory and creates the system tables in the mysql database,
mariadb-install-db was added in MariaDB 10.4.6. mariadb-install-db is a symlink to mysql_install_db, the client statically linked to the embedded server. In MariaDB 10.5 mariadb-install-db will be the main command and mysql_install_db will be a symlink to mariadb-install-db.
This is part of an effort to prefix all mariadb- commands with mariadb- instead of mysql-, while still keeping the old commands around to not break any existing scripts.
See mysql_install_db for details.
© 2019 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/mariadb-install-db/