This is a read-only copy of the MariaDB Knowledgebase generated on 2024-05-11. For the latest, interactive version please visit https://mariadb.com/kb/.

mysql_install_db

mariadb-install-db initializes the MariaDB data directory and creates the system tables in the mysql database.

MariaDB starting with 10.4.6

From MariaDB 10.4.6, mariadb-install-db is a symlink to mysql_install_db.

MariaDB starting with 10.5.2

From MariaDB 10.5.2, mysql_install_db is the symlink, and mariadb-install-db the binary name.

See mariadb-install-db for details.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.