mariadb-install-db

You are viewing an old version of this article. View the current version here.

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.

Comments

Comments loading...
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.