Update the location of the mysql config file
This commit is contained in:
parent
ad83f3b7b5
commit
e92f0f53e3
1 changed files with 1 additions and 1 deletions
|
@ -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`.
|
||||||
|
|
Loading…
Reference in a new issue