From c067761df6ecb03ff86443d3ad24f791a37dbf6a Mon Sep 17 00:00:00 2001 From: mkontani Date: Tue, 30 Jul 2019 03:49:53 +0900 Subject: [PATCH] fix mysql sample query --- Documentation/storage.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/storage.md b/Documentation/storage.md index ae73b6a5..19156ca2 100644 --- a/Documentation/storage.md +++ b/Documentation/storage.md @@ -307,8 +307,8 @@ Dex requires MySQL 5.7 or later version. When using MySQL, admins may want to de ``` CREATE DATABASE dex_db; -CREATE USER dex WITH PASSWORD '66964843358242dbaaa7778d8477c288'; -GRANT ALL PRIVILEGES ON DATABASE dex_db TO dex; +CREATE USER dex IDENTIFIED BY '66964843358242dbaaa7778d8477c288'; +GRANT ALL PRIVILEGES ON dex_db.* TO dex; ``` An example config for MySQL setup using these values: