分析原因:是log_bin_trust_function_creators值为off导致,因为Table中有Trigger,如果不创建Trigger,不会出现这样的错误信息,但Trigger必须创建
临时解决办法:
用root用户登录:
mysql -u root -p
mysql>set global log_bin_trust_function_creators = 1;
永久解决方案如下:
修改配置文件,在[mysqld]部分加上:
log_bin_trust_function_creators=1
注:linux系统配置文件/etc/my.cnf
windows系统配置文件my.ini
————————————————
版权声明:本文为CSDN博主「我不满意」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/weixin_42272246/article/details/124319693