数据库新建用户,赋予某库权限
create user 'vhr_admin'@'%' IDENTIFIED by '123456'; flush privileges;
#grant create, select, insert, update, delete on access_control.* to acc@'%';
grant all privileges on vhr.* to vhr_admin@'%';
flush privileges;
数据库新建用户,赋予某库权限最先出现在Python成神之路。
共有 0 条评论