mysql给用户分配权限

grant all privileges on 库名.* to 用户名@127.0.0.1 identified by '用户密码';
flush privileges
没了
原文地址:https://www.cnblogs.com/wodetian/p/7085537.html