Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
taufik-nurrohman committed Apr 21, 2022
1 parent 03bbefd commit edcd124
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,16 +295,22 @@ You should now be in MariaDB command line mode:
MariaDB [(none)]>
~~~

Type this command then <kbd>↵</kbd>:
Type this command where `******` is your new password for the `root` user, then <kbd>↵</kbd>:

~~~ .sh
FLUSH PRIVILEGES;
ALTER USER 'root'@'localhost' IDENTIFIED BY '******';
~~~

Type this command where `***` is your new password for the `root` user, then <kbd>↵</kbd>:
Then:

~~~ .sh
ALTER USER 'root'@'localhost' IDENTIFIED BY '***';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' WITH GRANT OPTION;
~~~

Type this command then <kbd>↵</kbd>:

~~~ .sh
FLUSH PRIVILEGES;
~~~

Now exit from MariaDB command line mode:
Expand Down

0 comments on commit edcd124

Please sign in to comment.