maria-discuss team mailing list archive
-
maria-discuss team
-
Mailing list archive
-
Message #05718
Re: How to give user permission to create a trigger?
-
To:
<maria-discuss@xxxxxxxxxxxxxxxxxxx>
-
From:
"Reinis Rozitis" <r@xxxxxxx>
-
Date:
Mon, 24 Feb 2020 15:20:01 +0200
-
In-reply-to:
<0070561a-7659-8a84-9907-ed87287250b9@plant.systems>
-
Thread-index:
AQH8rvDoPtZsU2hcmzDFvhnAdF2OYgDj5LFgATa88Tqny/VHMA==
> we are using 'mixed logging' in the binary log so should be safe activating 'log_bin_trust_function_creators = ON'?
Should be yes.
> Do I have to set it on the master only or slave to?
If you don't plan to promote slave to a master at some later/failover time then it's needed only on master.
p.s. it's a dynamic setting so if the user needs to make the triggers once you can enable it temporary with SET GLOBAL log_bin_trust_function_creators = 1; then switch off again.
rr
Follow ups
References