From 273a0820d3ae65ce8da7d55e7d1a31bb20bc136d Mon Sep 17 00:00:00 2001 From: Sunny Thaper Date: Mon, 10 Dec 2018 15:52:29 -0700 Subject: [PATCH] Fixed typo around wildcard character Without the single quotation marks, this command would result in the following error: ``` ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '%' at line 1 ``` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 80660f2..4cd6a51 100644 --- a/README.md +++ b/README.md @@ -140,7 +140,7 @@ Once the MariaDB container is deployed, you can enter the following commands int from shell: mysql -u root -p CREATE DATABASE bookstackapp; GRANT USAGE ON *.* TO 'myuser'@'%' IDENTIFIED BY 'mypassword'; -GRANT ALL privileges ON `bookstackapp`.* TO 'myuser'@%; +GRANT ALL privileges ON `bookstackapp`.* TO 'myuser'@'%'; FLUSH PRIVILEGES; ```