HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

mysql_secure_installation — Set up MySQL to have better security. More information: <https://dev.mysql.com/doc/refman/en/mysql-s

Submitted by: @import:tldr-pages··
0
Viewed 0 times
bettercommandsecuritymysql_secure_installationclimysqlsethave

Problem

How to use the mysql_secure_installation command: Set up MySQL to have better security. More information: <https://dev.mysql.com/doc/refman/en/mysql-secure-installation.html>.

Solution

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

Start an interactive setup:
mysql_secure_installation


Use specific host and port:
mysql_secure_installation --host {{host}} --port {{port}}


Display help:
mysql_secure_installation --help

Code Snippets

Start an interactive setup

mysql_secure_installation

Use specific host and port

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

Display help

mysql_secure_installation --help

Context

tldr-pages: common/mysql_secure_installation

Revisions (0)

No revisions yet.