mysql创建函数报错(MYSQL错误1418的解决方法)

1、查看函数功能是否开启

show variables like '%func%';

在这里插入图片描述

2、开启与关闭

-- 开启
SET GLOBAL log_bin_trust_function_creators = 1;
-- 关闭
SET GLOBAL log_bin_trust_function_creators = 0;

参考文献

  1. https://blog.csdn.net/lv_hang515888/article/details/78094889
  2. https://blog.csdn.net/weixin_39782433/article/details/113170917

猜你喜欢

转载自blog.csdn.net/qq_44275015/article/details/129929119