Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,27 @@ A few more configuration files are needed to get it rolling.
4. `OSDroidDB` is the local MySQL database storing workflow prediction history, labels and short-term document archive.
Three tables need to be created for each.

**in CC7, you need to install MariaDB**
```bash
sudo yum install MariaDB-server;
sudo systemctl start mariadb.service;
sudo mysql_secure_installation;
#https://mariadb.com/resources/blog/installing-mariadb-10-on-centos-7-rhel-7/
#https://linux.web.cern.ch/#additional-software-collections-available-for-slc6-and-cc7
```
**To create a new user**
```sql
GRANT ALL PRIVILEGES ON *.* TO 'droid'@'localhost' IDENTIFIED BY 'PASSWORD';
```

**To create the database**
```bash
mysql -u droid -p
```
```sql
CREATE DATABASE OSDroidDB;
```

**PredictionHistory**
```sql
CREATE TABLE IF NOT EXISTS OSDroidDB.PredictionHistory (
Expand Down