CREATE USER ‘test‘@‘%‘ IDENTIFIED BY ‘test‘; GRANT ALL ON test.* TO ‘test‘@‘%‘;
MySQL创建用户并授权
原文:http://www.cnblogs.com/baby-bear/p/4163856.html