Configuring Druid and Superset Metadata Stores in MySQL
Druid and Superset require a relational data store to store metadata. To use MySQL for this, install MySQL and create a database for the Druid metastore.
Druid and Superset require a relational data store to store metadata. To use MySQL for this, install MySQL and create a database for the Druid metastore.
mysql -u root -p
CREATE DATABASE druid DEFAULT CHARACTER SET utf8; CREATE DATABASE superset DEFAULT CHARACTER SET utf8;
druid
and superset
user accounts, replacing the final
IDENTIFIED BY
string with your password:
CREATE USER 'druid'@'%' IDENTIFIED BY '9oNio)ex1ndL'; CREATE USER 'superset'@'%' IDENTIFIED BY '9oNio)ex1ndL';
druid
account:
GRANT ALL PRIVILEGES ON *.* TO 'druid'@'%' WITH GRANT OPTION; GRANT ALL PRIVILEGES ON *.* TO 'superset'@'%' WITH GRANT OPTION;
commit;