SHRINE uses four databases to log its operations: qepAuditDB, adapterAuditDB, stewardDB, and shrine_query_history. When creating these databases, it is assumed that you have already installed MySQL. You will need to sign into MySQL as the 'shrine' user that you have created to perform these commands:
$ mysql -u shrine -pdemouser
To create the 4 SHRINE databases, you will need to run these commands within the MySQL prompt:
CREATE DATABASE adapterAuditDB; CREATE DATABASE qepAuditDB; CREATE DATABASE stewardDB; CREATE DATABASE shrine_query_history;
After creating these databases, you will then run each of the following scripts within their respective databases to load the schema. The command you will use is:
$ mysql -u shrine -pdemouser database_name < filename.sql
- qepAuditDB - qepAudit.sql
- adapterAuditDB - adapter.sql
- stewardDB - steward.sql
- shrine_query_history - shrine_query_history.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';
Overview
Content Tools