mysql_secure_installation

Complete mysql_secure_installation guide: renamed to mariadb-secure-installation in 10.5, Linux symlink access, Windows alternate binary, security setup.

circle-info

Note that many of the reasons for the existence of this script no longer apply. In particular, from MariaDB 10.4, Unix socket authentication is applied by default, and there is usually no need to create a root password. See Authentication from MariaDB 10.4.

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

See mariadb-secure-installation for details.

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

spinner

Last updated

Was this helpful?