grant all on *.* to '用户名'@'%' identified by '密码';

flush privileges;

黑色头发:http://heisetoufa.iteye.com/