Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
themerdark
$ mysql -u root

mysql> CREATE USER 'shrine'@'localhost' IDENTIFIED BY 'demouser';
mysql> GRANT ALL privileges ON *.* TO 'shrine'@'localhost';
mysql> \q

Sign into MySQL as root and grant the shrine user full access again to all of these databases and their tables:

Code Block
languagebash
themerdark
$ mysql -u root
MariaDB [(none)]> GRANT ALL privileges ON *.* TO 'shrine'@'localhost';FLUSH PRIVILEGES;
mysql> \q