用户创建并赋所有权限

create user test identified by 'test';

grant all privileges on *.* to test@"%";

flush privileges;

也可以

GRANT ALL ON *.* TO test@'%' IDENTIFIED BY 'test' WITH GRANT OPTION;   

flush privileges;

 

猜你喜欢

转载自dbajun.iteye.com/blog/2092413