Question

Unable to execute a query without super admin

Hey,

I have recently migrated my database to DO managed Database however I bumped into an issue that is very critical for me to resolve and would be happy if someone would explain how to overcome this issue

I am currently trying to execute the following query

SET @@GLOBAL.ENFORCE_GTID_CONSISTENCY = OFF;

but unsuccessfully I receive the error that I need super admin to perform this action

I can google all day long and maybe find the solution myself but I rather if someone has an idea how to do this

Thanks!

Subscribe
Share

Hello @omercohen are you logged in as the default user?

Regards Simon - SnapShooter DigitalOcean Backups

Hey,

Thanks for the fast reply yes I have indeed logged in as the default user called doadmin

here is the error I get:

Access denied; you need (at least one of) the SUPER or SYSTEM_VARIABLES_ADMIN privilege(s) for this operation


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I don’t think that changing globals would be possible for the managed databases, basically if they allow you to do that they are risking of users breaking their managed MySQL clusters. For some parameters you changing the values for session only works pretty well.