Add note about locking mysql down to local server access

This commit is contained in:
Kevin MacMartin 2016-12-15 21:19:19 -05:00
parent dd6efa8ef6
commit b974e009f3

View file

@ -33,6 +33,7 @@ nginx, php, systemd
### MySQL Config ### 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` 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 2. Run `systemctl start mysqld` and `systemctl enable mysqld` to start mysqld and enable it at boot
3. Run `mysql_secure_installation`. 3. Run `mysql_secure_installation`.