Don't bother with the 127.0.0.1 isolation for mariadb as the config location changed and the default is to lock down

This commit is contained in:
Kevin MacMartin 2019-10-28 18:45:46 -04:00
parent 13b65d2102
commit 5f4d69373b

View file

@ -37,7 +37,6 @@ nginx php systemd
### MySQL Config ### MySQL Config
1. Add `bind-address = 127.0.0.1` to `/etc/mysql/my.cnf.d/server.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`.