Checking Whether log_bin_trust_function_creators Is Set to On in Both the Source and Destination Databases
MySQL
| Check Item | Whether log_bin_trust_function_creators is set to on in both the source and destination databases |
|---|---|
| Description | During the migration from MySQL to MySQL out of the cloud, the destination database does not support custom functions. The log_bin_trust_function_creators parameter is set to on in the source database and to off in the destination database, causing the migration failure. |
| Alarm Cause and Handling Suggestion | Alarm cause: The destination database does not support custom functions. Handling suggestions: In the my.cnf file of the destination database, check whether log_bin_trust_function_creators=on exists. If it does not exist, add log_bin_trust_function_creators=on and restart the database for the modification to take effect. |
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.