From 9946eebc02b5e1262da1681c520436f30a89845c Mon Sep 17 00:00:00 2001 From: fjy Date: Tue, 28 Jul 2015 08:36:48 -1000 Subject: [PATCH] Add setup to metadata stoer page --- docs/content/dependencies/metadata-storage.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/content/dependencies/metadata-storage.md b/docs/content/dependencies/metadata-storage.md index 7e18019004d..b57327ec881 100644 --- a/docs/content/dependencies/metadata-storage.md +++ b/docs/content/dependencies/metadata-storage.md @@ -16,6 +16,22 @@ The following metadata storages are supported: To choose a metadata storage to use, set the `druid.extensions` config to include the module for the metadata storage. + +## Set up MySQL + +1. If you don't already have it, download MySQL Community Server here: [http://dev.mysql.com/downloads/mysql/](http://dev.mysql.com/downloads/mysql/). +2. Install MySQL. +3. Create a druid user and database. + +```bash +mysql -u root +``` + +```sql +GRANT ALL ON druid.* TO 'druid'@'localhost' IDENTIFIED BY 'diurd'; +CREATE DATABASE druid DEFAULT CHARACTER SET utf8; +``` + Segments Table --------------