From 3c356e876cd9dbbcd92302b222e703ab52e152c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernhard=20=22Ted=22=20Fr=C3=B6hlich?= Date: Fri, 8 Jan 2016 18:12:32 +0100 Subject: [PATCH 1/2] Quote username with hyphen Newer versions seem to require quotes for usernames with hyphens... --- INSTALL.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL.txt b/INSTALL.txt index 9b8a966..344330d 100755 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -29,7 +29,7 @@ Setup - Connect to your MySQL server with an administrative user and create a database for CATS: CREATE DATABASE cats_db; - Create a user for CATS to access the database: - CREATE USER cats-user IDENTIFIED BY ''; + CREATE USER 'cats-user' IDENTIFIED BY ''; - Grant the necessary user rights. These are a bit more than the absolute minimum: GRANT DELETE, INSERT, SELECT, UPDATE ON cats_db.* TO cats_user; - Change the database context to the newly created cats_db: From 250eec9e15acbf603a8d927e7710303c9803b609 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernhard=20=22Ted=22=20Fr=C3=B6hlich?= Date: Fri, 8 Jan 2016 18:18:48 +0100 Subject: [PATCH 2/2] cats_user with underscore... --- INSTALL.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL.txt b/INSTALL.txt index 344330d..604ef23 100755 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -29,7 +29,7 @@ Setup - Connect to your MySQL server with an administrative user and create a database for CATS: CREATE DATABASE cats_db; - Create a user for CATS to access the database: - CREATE USER 'cats-user' IDENTIFIED BY ''; + CREATE USER 'cats_user' IDENTIFIED BY ''; - Grant the necessary user rights. These are a bit more than the absolute minimum: GRANT DELETE, INSERT, SELECT, UPDATE ON cats_db.* TO cats_user; - Change the database context to the newly created cats_db: