我是靠谱客的博主 烂漫玫瑰,这篇文章主要介绍MySQL创建触发器的时候报1419错误( 1419 - You do not have the SUPER privilege and binary logging is enabled )...,现在分享给大家,希望可以做个参考。
grant all privileges on *.* to root@'%' identified by 'CTjetrrrr' with grant option; 给用户权限
解决方法:
第一步,用root用户登录:mysql -u root -p
第二步,设置参数log_bin_trust_function_creators为1:set global log_bin_trust_function_creators = 1;

再次尝试创建触发器,成功!(同样,在删除触发器报该错误的时候也是如此处理)
最后
以上就是烂漫玫瑰最近收集整理的关于MySQL创建触发器的时候报1419错误( 1419 - You do not have the SUPER privilege and binary logging is enabled )...的全部内容,更多相关MySQL创建触发器的时候报1419错误(内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复