MySQL创建用户并授权

CREATE USER 'test'@'%' IDENTIFIED BY 'test';
GRANT ALL ON test.* TO 'test'@'%';

 

posted @ 2014-12-14 23:05  vance.  阅读(145)  评论(0编辑  收藏  举报