Page tree
Skip to end of metadata
Go to start of metadata

SHRINE uses MariaDB, a relational database management system by default. In order to set that up on your system, you will first need to install MariaDB. For more information on MariaDB, please visit: http://mariadb.org/


$ yum -y install mariadb-server

-- Start service
$ systemctl start mariadb

-- Enable on boot
$ systemctl enable mariadb


After this, you will need to create the SHRINE database user and grant it full access:

$ 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:

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