MySQL
2022/7/28原创小于 1 分钟约 75 字
创建用户并授权
创建用户并直接授权
grant all privileges on hr to 'hr'@'%' identified by 'hr' with grant option;
需要给用户PROCESS权限
GRANT Alter, Create, Delete, Index, Insert, Update, PROCESS ON *.* TO 'admin'@'%';
grant all privileges on hr to 'hr'@'%' identified by 'hr' with grant option;
GRANT Alter, Create, Delete, Index, Insert, Update, PROCESS ON *.* TO 'admin'@'%';