mysql数据库给添加用户数据库权限

grant all privileges on 数据库名.* to 用户名@"%" identified by '密码';
 flush privileges;

你可能感兴趣的:(mysql数据库给添加用户数据库权限)