Skip to content

Commit

Permalink
Clarify
Browse files Browse the repository at this point in the history
  • Loading branch information
KarlLevik committed May 19, 2021
1 parent 9dab9be commit 35abda7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ This package provides everything needed to create the Diamond flavour of the ISP

## Requirements

* We recommend MariaDB 10.3 or later.
* We recommend MariaDB 10.3 or later. You'll need both a MariaDB server and a client.
* Linux with bash is assumed, but it's possible to make this work on other OSes.
* If binary logging is enabled in the DB system, then execute this before importing the test schema: `SET GLOBAL log_bin_trust_function_creators=ON;`

## Installation

Make sure you have installed the MariaDB server and client, and maybe secured the installation by running `mariadb-secure-installation` (or `mysql_secure_installation` on MariaDB 10.3 or older). You should copy `.my.example.cnf` to `.my.cnf` and then edit that file to set the `user` and `password`, e.g. `user = root` and use the `password` you set when securing.

In a test environment you can then run the `build.sh` file. This creates the database schema and applies the grants as described in the "Schema" and "Grants" sections below.
1. After installing the MariaDB server and client, consider securing the installation by running `mariadb-secure-installation` (or `mysql_secure_installation` on MariaDB 10.3 or older).
2. Copy `.my.example.cnf` to `.my.cnf` and then edit that file to set the `user` and `password`, e.g. `user = root` and use the `password` you set when securing. Optionally, you can also set e.g. `host` and `port`.
3. In a test environment run the `build.sh` file. This creates the database schema and applies the grants as described in the "Schema" and "Grants" sections below.

### Schema

Expand Down

0 comments on commit 35abda7

Please sign in to comment.