MYSQL 权限控制
时间:2008-07-03 来源:火鸡
赋予user在data_base_name库下所有表有所有权限:
GRANT ALL ON data_base_name.* to 'user'@'%' IDENTIFIED BY 'Passwd';
user可在data_base_name 库中建立触发器:
GRANT TRIGGER ON data_base_name.* TO 'user'@"%";
刷新权限表:
FLUSH PRIVILEGES;
GRANT ALL ON data_base_name.* to 'user'@'%' IDENTIFIED BY 'Passwd';
user可在data_base_name 库中建立触发器:
GRANT TRIGGER ON data_base_name.* TO 'user'@"%";
刷新权限表:
FLUSH PRIVILEGES;
相关阅读 更多 +