我已经创建了一个 AWS RDS 实例,我已经使用主密码创建了我的主用户,并且它工作/连接正常。
但是当我要在该实例上创建一个函数时,它会显示以下错误:
ERROR 1418: 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_creator variable).
在我的实例中,变量log_bin_trust_function_creators
显示OFF
,如果我尝试使用更改变量SET GLOBAL log_bin_trust_function_creators = 1;
,它会给我另一个错误"Error Code: 1227. Access denied; you need (at least one of) the SUPER privilege(s) for this operation"