mysql_secure_installation Command Examples

Set up MySQL to have better security. More information: https://dev.mysql.com/doc/refman/en/mysql-secure-installation.html.

mysql_secure_installation

mysql_secure_installation --host={{host}} --port={{port}}

mysql_secure_installation --help