W3cubDocs

/MariaDB

mariadb-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

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.

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.

© 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/