From 86e171a234f7457e41b374ebe24021c69423d9cf Mon Sep 17 00:00:00 2001 From: Justin Borromeo Date: Fri, 18 Jan 2019 15:13:11 -0800 Subject: [PATCH] Doc change and commands tested command on v5 and v8 (#6886) --- docs/content/development/extensions-core/mysql.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/content/development/extensions-core/mysql.md b/docs/content/development/extensions-core/mysql.md index d72ddbbef23..acd05ca4655 100644 --- a/docs/content/development/extensions-core/mysql.md +++ b/docs/content/development/extensions-core/mysql.md @@ -70,8 +70,11 @@ Copy or symlink this file to `extensions/mysql-metadata-storage` under the distr -- create a druid database, make sure to use utf8mb4 as encoding CREATE DATABASE druid DEFAULT CHARACTER SET utf8mb4; - -- create a druid user, and grant it all permission on the database we just created - GRANT ALL ON druid.* TO 'druid'@'localhost' IDENTIFIED BY 'diurd'; + -- create a druid user + CREATE USER 'druid'@'localhost' IDENTIFIED BY 'diurd'; + + -- grant the user all the permissions on the database we just created + GRANT ALL PRIVILEGES ON druid.* TO 'druid'@'localhost'; ``` 3. Configure your Druid metadata storage extension: