Update Installation-CentOS-7-Apache.md (#6271)

The -p option is not needed by the default installation of mariadb-server on CentOS Linux release 7.3.1611 (Core)

Including it without knowing to press enter for no password results in an authentication error:

root@netmon ~# mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

Alternatively, it could be noted to leave the password field blank when asked.
This commit is contained in:
Tyler
2017-03-26 05:02:23 -07:00
committed by Neil Lathwood
parent af2930e0d9
commit b6c2648f44

View File

@ -9,7 +9,7 @@ source: Installation/Installation-CentOS-7-Apache.md
```bash
yum install mariadb-server mariadb
systemctl restart mariadb
mysql -uroot -p
mysql -uroot
```
```sql