-- Executed before dump

CREATE USER 'vn'@'localhost';

GRANT SELECT,
        INSERT,
        UPDATE,
        DELETE,
        CREATE TEMPORARY TABLES,
        EXECUTE,
        EVENT,
        TRIGGER, -- EXECUTE TRIGGER
        RELOAD, -- FLUSH PRIVILEGES
        DROP -- TRUNCATE TABLE
    ON *.* TO 'vn'@'localhost';
