For the complete documentation index, see llms.txt. This page is also available as Markdown.

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 on Linux/Unix. For the Windows tool, see Installing System Tables on Windows.

This page is licensed: CC BY-SA / Gnu FDL

spinner

Last updated

Was this helpful?