From 40ba15610ec0a87b2efa214880dd92f6391c12ed Mon Sep 17 00:00:00 2001 From: Thomas Pike Date: Tue, 17 Apr 2018 09:59:02 +0200 Subject: [PATCH] Add missing backticks and bring sample config in line with README Resolves: #10 --- README.md | 4 ++-- config/config-sample.ini | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c198bf4..e289ed3 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/config/config-sample.ini b/config/config-sample.ini index 3127b54..5280630 100644 --- a/config/config-sample.ini +++ b/config/config-sample.ini @@ -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