You do not have the SUPER privilege and binary logging is enabled解决方法

Posted 秋9

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了You do not have the SUPER privilege and binary logging is enabled解决方法相关的知识,希望对你有一定的参考价值。

【现象】

mysql中创建触发器时,报如下错误

Query:
/*!50003 CREATE */ /*!50017 DEFINER = 'admin'@'%' */ /*!50003 TRIGGER `new_auth_chart_group` AFTER INSERT ON `chart_group` FOR EACH ROW select copy_auth(NEW.id,'chart',NEW.create_by) into @ee */

Error occured at:2023-02-11 23:57:24
Line no.:25
Error Code: 1419 - You do not have the SUPER privilege 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;

以上是关于You do not have the SUPER privilege and binary logging is enabled解决方法的主要内容,如果未能解决你的问题,请参考以下文章

You do not have the SUPER privilege and binary logging is enabled解决方法

mysql报错:You do not have the SUPER privilege and binary logging is enabled

码云clone提示“you do not have permission to pull from the repository”

全网最详细使用Scrapy时遇到0: UserWarning: You do not have a working installation of the service_identity modul

发布npm包时报错:You do not have permission to publish “package-demo“.

You have not accepted the license agreements of the following SDK components