grant all PRIVILEGES on *.* to cheyooh_user@‘111.111.111.101‘ identified by ‘cheyooh_user‘;
grant all PRIVILEGES on cheyooh_user.* to cheyooh_user@‘111.111.111.100‘ identified by ‘cheyooh_user‘;
GRANT Select ON *.* TO reader@‘218.17.202.202‘ IDENTIFIED BY "password112";
grant all PRIVILEGES on *.* to kevin@‘218.17.202.202‘ IDENTIFIED BY ‘88888888‘;
grant select,reload,replication slave,replication client on *.* to nagios@‘127.0.0.1‘ identified by "123456";
flush privileges;
grant all PRIVILEGES on cheyoh_ad.* to jerry@‘%‘ identified by ‘66666666‘;
本文详细解释了多用户数据库权限设置,包括对*.*的全权限授予、特定用户和IP地址的限制,如cheyooh_user、reader、kevin和nagios。重点介绍了不同用户的角色权限和授权操作,如SELECT、GRANT和FLUSH PRIVILEGES。
1263

被折叠的 条评论
为什么被折叠?



