Amazon RDS unable to execute SET GLOBAL command

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-08 14:40:08

问题


I am using Amazon RDS for mysql db. I want to run some SET commands for eg:

SET GLOBAL group_concat_max_len =18446744073709551615

But when I run this command I get this error

ERROR 1227 (42000): Access denied; you need (at least one of) the SUPER privilege(s) for this operation

When I try to add privileges, it does not allow me to add. Any help or inputs?


回答1:


Amazon does not give you SUPER privileges on an RDS instance (to prevent you from breaking things like replication accidentally).

To configure group_concat_max_len, use an RDS parameter group, which allows you to configure a group of settings to apply to an instance.




回答2:


With RDS global settings are managed via the ParameterGroup API. You can also edit them from the web console or using the aws command line tools.



来源:https://stackoverflow.com/questions/31147206/amazon-rds-unable-to-execute-set-global-command

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!