Add note about locking mysql down to local server access
This commit is contained in:
parent
dd6efa8ef6
commit
b974e009f3
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ nginx, php, systemd
|
|||
|
||||
### MySQL Config
|
||||
|
||||
1. Add `bind-address = 127.0.0.1` to `/etc/mysql/my.cnf`
|
||||
1. Run `mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql`
|
||||
2. Run `systemctl start mysqld` and `systemctl enable mysqld` to start mysqld and enable it at boot
|
||||
3. Run `mysql_secure_installation`.
|
||||
|
|
Loading…
Reference in a new issue