You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

$ mysql -u shrine -pdemouser

 

MariaDB [(none)]> CREATE DATABASE adapterAuditDB;
MariaDB [(none)]> CREATE DATABASE qepAuditDB;
MariaDB [(none)]> CREATE DATABASE stewardDB;
MariaDB [(none)]> CREATE DATABASE shrine_query_history;

 

$ mysql -u shrine -p database_name < filename.sql

 

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

$ mysql -u root
MariaDB [(none)]> GRANT ALL privileges ON *.* TO 'shrine'@'localhost';
  • No labels