The 4 commands below will create a new database and user with full permissions on MySql:
CREATE DATABASE mautic;
CREATE USER ‘mautic’@’localhost’ IDENTIFIED BY ‘WowThat’sALongOne!’;
GRANT ALL PRIVILEGES ON mautic.* TO ‘mautic’@’localhost’;
FLUSH PRIVILEGES;