ERROR 1418 (HY000): This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declar

mysql创建函数,报错:

ERROR 1418 (HY000): This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)

在命令提示行设置:

SET GLOBAL log_bin_trust_function_creators = 1;
   
    
    

mysql创建函数,报错:

ERROR 1418 (HY000): This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)

在命令提示行设置:

SET GLOBAL log_bin_trust_function_creators = 1;
   
  
  

猜你喜欢

转载自blog.csdn.net/qq_45151059/article/details/113733827