Question

How to DISABLE GTID for mysql?

As a Developer, I want to migrate a wordpress DB to MySQL in my digital ocean account but I get a warning and it’s timing out because of this.

Image with warning

If I try to set it off, I get permission errors:

SET @@GLOBAL.GTID_MODE = OFF_PERMISSIVE;

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

How to solve it?

Thanks


Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
July 5, 2022

Hey @rodrigovfsilva,

Indeed with the Managed MySQL database clusters you do not have super admin privileges.

What you could do is try reaching out to the DigitalOcean support team who might be able to make this change for you:

https://www.digitalocean.com/support/

Note that in some cases this might not be possible.

If you want to have full control over your MySQL instance, you could install MySQL on a Droplet:

https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-20-04

That way you will be able to make any chance that you need.

Hope that helps!

- Bobby.