
CREATE DATABASE m2 CHARACTER SET utf8;

GRANT ALL PRIVILEGES ON m2.* TO m2@localhost IDENTIFIED BY "m2" WITH GRANT OPTION;
GRANT PROCESS, SUPER, FILE, REPLICATION SLAVE , REPLICATION CLIENT ON * . * TO 'm2'@'localhost';

GRANT ALL PRIVILEGES ON m2.* TO m2@127.0.0.1 IDENTIFIED BY "m2" WITH GRANT OPTION;
GRANT PROCESS, SUPER, FILE, REPLICATION SLAVE , REPLICATION CLIENT ON * . * TO 'm2'@'127.0.0.1';

USE m2;
