Update README.md

This commit is contained in:
tteck 2021-08-21 20:42:54 -04:00 committed by GitHub
parent 605d39b4a0
commit 17cbbac19d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -208,11 +208,11 @@ sudo mysql
``` ```
Prompt will change to ```MariaDB [(none)]>``` Prompt will change to ```MariaDB [(none)]>```
Create a new local admin Create a new local admin (Change the username and password to match your preferences)
``` ```
CREATE USER 'admin'@'localhost' IDENTIFIED BY 'password'; CREATE USER 'admin'@'localhost' IDENTIFIED BY 'password';
``` ```
Give local admin root privileges Give local admin root privileges (Change the username and password to match from above)
``` ```
GRANT ALL ON *.* TO 'admin'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION; GRANT ALL ON *.* TO 'admin'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;
``` ```