Versions Compared

Key

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

Update Schema

Download shrine-setup.zip in temporary directory and unpack it.

Code Block
languagebash
themeRDark
wget https://repo.open.catalyst.harvard.edu/nexus/content/groups/public/net/shrine/shrine-setup/3.01.0/shrine-setup-3.01.0-dist.zip -O /tmp/shrine-setup.zip
unzip -d /tmp /tmp/shrine-setup.zip

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

Code Block
languagebash
themeRDark
mysql -u shrine -pYourPassword adapterAuditDBqepAuditDB < /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-mysqlqep/sql/mysql-update.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.

...

languagebash
themeRDark

...