# create databases
CREATE DATABASE IF NOT EXISTS `primary`;
CREATE DATABASE IF NOT EXISTS `secondary`;

# create root user and grant rights
CREATE USER `laper1`@`%` IDENTIFIED WITH mysql_native_password BY 'laper1';
GRANT ALL PRIVILEGES ON *.* TO `laper1`@`%`;
FLUSH PRIVILEGES;