Help Center> Data Replication Service> User Guide> Check Items> Database Parameters> Checking Whether log_bin_trust_function_creators Is Set to On in Both the Source and Destination Databases

Checking Whether log_bin_trust_function_creators Is Set to On in Both the Source and Destination Databases

MySQL

Table 1 Checking whether log_bin_trust_function_creators is set to on in both the source and destination databases

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.