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

Update Schema

Download in temporary directory and unpack it.

wget -O /tmp/
unzip -d /tmp /tmp/

In that directory find three database update scripts for your brand of database: adapter/adapterAuditDB-update-brand.sql, adapter/shrine_query_history-update-mysql.sql and qep/update-brand.sql . Run each of the appropriate scripts on your databases. For MariaDB run the following shell commands:

mysql -u shrine -pYourPassword adapterAuditDB < /tmp/shrine-setup/adapter/sql/adapterAuditDB-update-mysql.sql
mysql -u shrine -pYourPassword shrine_query_history < /tmp/shrine-setup/adapter/sql/shrine_query_history-update-mysql.sql
mysql -u shrine -pYourPassword qepAuditDB < /tmp/shrine-setup/qep/sql/update-mysql.sql

For MS SQL and Oracle, run the scripts appropriate for your databases. 

Increase the Number of Connections (MariaDB Only)

Increase the number of connections to mariadb from the default 151 to at minimum 2049. In /etc/my.cnf add a max_connnections value.

max_connections = 2049
  • No labels