标签:select sql data getpass user 数据库权限 get sel let
给targetUserName用户授予databaseName单个数据库权限
grant all privileges on databaseName.* to targetUserName@"%" identified by ‘targetPassword‘;
grant select,delete,update,insert on databaseName.* to targetUserName@"%" identified by ‘targetPassword‘;
grant select on databaseName.* to targetUserName@"%" identified by ‘targetPassword‘;
标签:select sql data getpass user 数据库权限 get sel let
原文地址:https://www.cnblogs.com/zhuitian/p/12358274.html