你可能想使用不安全的log_bin_trust_function 恢复MySQL数据库以创建存储过程是一个错误。 你可能想使用不安全的log_bin_trust_function_creators变量 需要进行 设置全局log_bin_trust_function_creators = 1;