[英]Amazon RDS super user privilege
I have created Amazon RDS instance, but can't create stored procedures in it because I am missing super user privilege.我创建了 Amazon RDS 实例,但无法在其中创建存储过程,因为我缺少超级用户权限。 How do I get super user privileges?如何获得超级用户权限?
Instance: MySQL 5.7.11实例:MySQL 5.7.11
You will not get super privilege in AWS RDS, but there is a way to disable binary logging (thereby removing the need to have SUPER privileges for creating triggers).您不会在 AWS RDS 中获得超级权限,但有一种方法可以禁用二进制日志记录(从而无需拥有创建触发器的超级权限)。 This is done by setting the variable log_bin_trust_create_function_creators to 1.这是通过将变量log_bin_trust_create_function_creators设置为 1 来完成的。
log_bin_trust_create_function_creators
to 1 for that parameter group将该参数组的log_bin_trust_create_function_creators
的值更改为 1log_bin_trust_create_function_creators
is labeled as dynamic vairable, and therefore shouldn't require a restart, but I have always needed to reboot the RDS instance for the change to take effect. log_bin_trust_create_function_creators
被标记为动态变量,因此不需要重新启动,但我总是需要重新启动 RDS 实例以使更改生效。 Perhaps there is another way but I haven't found it.也许还有另一种方式,但我还没有找到。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.