CREATE DATABASE IF NOT EXISTS xbrlgen;

GRANT ALL ON xbrlgen.* TO 'root'@'%' IDENTIFIED BY 'dodol123';

GRANT REPLICATION SLAVE ON *.* TO 'replica'@'%' IDENTIFIED BY 'duren123';

FLUSH PRIVILEGES;

