mysql數(shù)據(jù)庫(kù)備份了函數(shù),卻沒有生成函數(shù),可能是數(shù)據(jù)的設(shè)置問題,解決方法如下:
1、在 MySQL 數(shù)據(jù)庫(kù)中執(zhí)行以下語句,臨時(shí)生效,重啟后失效
set global log_bin_trust_function_creators=TRUE;
2、在配置文件 my.ini 的 [mysqld] 配置,永久生效
log_bin_trust_function_creators=1