Report this

What is the reason for this report?

Database connection from a server fail with [ERROR] unknown variable 'log_bin_trust_function_creators=1'.

Posted on June 15, 2020

I just created a database cluster with SSL connect and assigned the IP address of my server as trusted IP. When I tried to connect using the provided flag I got the unknown variable error

mysql: [ERROR] unknown variable ‘log_bin_trust_function_creators=1’.

How do I resolve this? Thanks Chariya



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.

Hi @cpeters5,

Can you please confirm how exactly are you trying to connect, what sofware are you using, from where you are connecting to your MySQL, are you using a Managed Database?

It seems like the software you are connecting from, doesn’t recognize this option which is strange. Most probably it’s an older version.

Regards, KDSys

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.