-- create a druid database, make sure to use utf8mb4 as encodingCREATEDATABASEdruidDEFAULTCHARACTERSETutf8mb4;-- create a druid user, and grant it all permission on the database we just createdGRANTALLONdruid.*TO'druid'@'localhost'IDENTIFIEDBY'diurd';

Configure your Druid metadata storage extension:

Add the following parameters to your Druid configuration, replacing <host>
with the location (host name and port) of the database.