-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"You do not have the SUPER privilege and binary logging is enabled" #76
Comments
I finally understood: the latest gen of RDS MySQL has triggers disabled (while our first gen apparently had it enabled). The fix seems to be to set log_bin_trust_function_creators to 1 indeed. |
will close this one, as I can say it is a duplicate of #65 |
For others that are stumbling across this issue via google, run this:
|
To follow up on @mnpenner's comment: When using RDS you have to create a new RDS parameter group (this can be done from the RDS dashboard on the web), set Then modify your RDS instance to use this parameter group, save, and reboot your RDS instance and it should work. You can read more here: https://forums.aws.amazon.com/message.jspa?messageID=183618, and http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithParamGroups.html. |
sed -ie "s/DEFINER=`a-z0-9A-Z*`@`a-z0-9A-Z*`/DEFINER=CURRENT_USER /g sqldump.sql This help me with my backup file. succesful import. |
If you are facing this issue and your database is on Google Cloud, follow this guide to set the |
So you have to add SET GLOBAL log_bin_trust_function_creators = 1; |
Command [SET GLOBAL log_bin_trust_function_creators = 1;] is not working for me: Access denied; you need (at least one of) the SUPER or SYSTEM_VARIABLES_ADMIN privilege(s) for this operation |
If using AWS RDS, this error can be bypassed by following these instructions from amazon https://aws.amazon.com/premiumsupport/knowledge-center/rds-mysql-functions/ |
really help me thanks alot |
Hello,
we migrated from a RDS-backed MySQL 5.5 to a newer generation RDS MySQL 5.6, and the first attempt to add an index using lhm gives us this error:
After discussing this with my client's sysadmin, SUPER cannot be used on RDS apparently, and binary logging is always on for point in time recovery.
This is also the first time we use LHM to add an index (previously it was just for columns).
Is the error message reliable here?
Did anyone meet this issue and can it be solved?
thanks!
The text was updated successfully, but these errors were encountered: