IT源码网

mysql给某个用户单个表权限

wyy 2021年02月13日 数据库 308 0

 

 

 

CREATE USER systemselect IDENTIFIED BY 'Zbank123456';
#只给查询权限
GRANT SELECT ON szkitil.zbank_businesssystemtype TO systemselect@'%'
#
给查询、插入、修改、删除权限
GRANT select,insert,update,delete ON szkitil.zbank_businesssystemtype TO systemselect@'%'
SHOW GRANTS FOR systemselect;

 

评论关闭
IT源码网

微信公众号号:IT虾米 (左侧二维码扫一扫)欢迎添加!

mysql修改后启动my.cnf报错Starting MySQL... ERROR! The server quit without updating PID file (/var/lib/mysql/localhost.localdomain.pid).