INSERT INTO mysql.user(HOST,USER,PASSWORD) VALUES("localhost","exam",PASSWORD("exam"));

FLUSH PRIVILEGES;


CREATE DATABASE ecm

GRANT ALL PRIVILEGES ON ecm.* TO exam@localhost IDENTIFIED BY 'exam';

posted on 2013-09-06 10:50  mu大仙  阅读(148)  评论(0编辑  收藏  举报