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?

Subscribe
Share

i found the password file but logging in with the root password does not work: access denied


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.

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.

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.