Enabling binary logging for MySQL and MariaDB databases
For AWS, see https://aws.amazon.com/premiumsupport/knowledge-center/rds-mysql-functions/
For Azure, set the value of the parameter
log_bin_trust_function_creatorsas 1, as described in the link:https://learn.microsoft.com/en-us/azure/mysql/single-server/how-to-server-parameters
For GCP, do the following:
Open the instance and click Edit.
Scroll down to the Flags section.
To set a flag, click Add item, select log_bin_trust_function_creators flag from the drop-down menu, and set its value to on.
Click Save to save your changes. You can confirm your changes under Flags in the Overview page.