Files
cheatsheet-tldr/tldr/mysql_secure_installation
2024-09-17 00:14:05 +00:00

22 lines
457 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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`