Report this

What is the reason for this report?

MySQL function error - You do not have SUPER privilege

Posted on May 17, 2019

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?



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!

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.

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.