Fix mysql db install command in the instructions
This commit is contained in:
parent
b3b8b0c89e
commit
90b680c42a
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ nginx, php, systemd
|
||||||
|
|
||||||
### MySQL Config
|
### MySQL Config
|
||||||
|
|
||||||
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`.
|
||||||
4. Create a new password.
|
4. Create a new password.
|
||||||
|
|
Loading…
Reference in a new issue