Add missing backticks and bring sample config in line with README

Resolves: #10
This commit is contained in:
Thomas Pike
2018-04-17 09:59:02 +02:00
parent ef54569a65
commit 40ba15610e
2 changed files with 4 additions and 4 deletions

View File

@@ -57,8 +57,8 @@ Installation
3. Create a MySQL user and database (run in MySQL shell):
CREATE USER 'ska-user'@'localhost' IDENTIFIED BY 'password';
CREATE DATABASE ska-db DEFAULT CHARACTER SET utf8mb4;
GRANT ALL ON ska-db.* to 'ska-user';
CREATE DATABASE `ska-db` DEFAULT CHARACTER SET utf8mb4;
GRANT ALL ON `ska-db`.* to 'ska-user'@'localhost';
4. Copy the file `config/config-sample.ini` to `config/config.ini` and edit the settings as required.

View File

@@ -71,9 +71,9 @@ admin_name = "SSH Key Authority administrators"
; Connection details to the MySQL database
hostname = localhost
port = 3306
username = keys
username = ska-user
password = password
database = keys
database = ska-db
[ldap]
; Address to connect to LDAP server