Since MariaDB 10.5, the client is called mariadb-secure-installation, rather than the old mysql_secure_installation.
In Ubuntu 24.04 (current LTS) the command is still mysql_secure_installation but this changes in subsequent Ubuntu versions, including the next LTS, coming out in April 2026.
Add a note in the documentation where this command is called that's something like:
Note: If mysql_secure_installation doesn't work for you, try the newer mysql-secure-installation command.
Since MariaDB 10.5, the client is called mariadb-secure-installation, rather than the old mysql_secure_installation.
In Ubuntu 24.04 (current LTS) the command is still mysql_secure_installation but this changes in subsequent Ubuntu versions, including the next LTS, coming out in April 2026.
Add a note in the documentation where this command is called that's something like:
Note: If mysql_secure_installation doesn't work for you, try the newer mysql-secure-installation command.