Question

MySQL function error - You do not have SUPER privilege

I cannot create any triggers or procedures in mysql. A message is returned saying ‘You do not have the SUPER privilege and binary logging is enabled (you might want to use the less safe log_bin_trust_creators variable)’

I’ve tried SET GLOBAL log_bin_trust_function_creators=1; but it returns largely the same error (1227) error anyways. How do I log in via root? I cannot find root credentials in wp-config.php. How can I create triggers anyways?

Show comments

Submit an answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Maybe you’ve disabled the remote MySQL root access, you could try to first ssh to the droplet and then access MySQL as root locally on the machine.