-- Creates an user
CREATE USER
IF NOT EXISTS 'admin'@'%' IDENTIFIED BY '@Avatarme1';

-- Grant rights to admin user
GRANT ALL PRIVILEGES ON `CMT`.* TO 'admin'@'%';
FLUSH PRIVILEGES;
