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

mysql_install_db

mysql_install_db initializes the MariaDB data directory and creates the system tables in the mysql database.

From MariaDB 10.5, the client is called mariadb-install-db. It can still be accessed under its original mysql_install_db name via a symlink in Linux, or an alternate binary in Windows.

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.