MySQL function error - You do not have SUPER privilege

May 17, 2019 360 views
MySQL Ubuntu 18.04

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 logbintrust_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?

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

1 Answer

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.

Have another answer? Share your knowledge.