Update the location of the mysql config file

This commit is contained in:
Kevin MacMartin 2019-05-01 18:30:28 -04:00
parent ad83f3b7b5
commit e92f0f53e3

View file

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