Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Amazon RDS unable to execute SET GLOBAL command

Tags:

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?

like image 412
chandresh_cool Avatar asked Jun 30 '15 19:06

chandresh_cool


People also ask

Why can't I connect to RDS?

Troubleshoot database level issuesBe sure that you're using the correct user name and password to access the instance from your DB client. Be sure that the user has the database permissions to connect to the DB instance. Check for any resource throttling in Amazon RDS, such as CPU or memory contention.

What are some of the common causes why you Cannot connect to a DB instance on AWS?

When you can't connect to a DB instance, the following are common causes: Inbound rules – The access rules enforced by your local firewall and the IP addresses authorized to access your DB instance might not match. The problem is most likely the inbound rules in your security group.


1 Answers

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.

enter image description here

like image 142
ceejayoz Avatar answered Oct 14 '22 00:10

ceejayoz