Allow mysql users to create triggers

Enable the 'log_bin_trust_function_creators' option to allow users to
create stored procedures and triggers without needing to grant them
SUPER privileges.

This is required specifically to allow the keystone user to create
database triggers during the live migration process.

Change-Id: I17d5bba2a81911b74ad5d23687cfc7a7ed81feb4
(cherry picked from commit cfdda72e96)
This commit is contained in:
Jimmy McCrory 2016-10-09 19:53:55 -07:00 committed by Jesse Pretorius (odyssey4me)
parent 91ab40e9a3
commit 7632420850
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ log-bin = /var/lib/mysql/mariadb-bin
log-bin-index = /var/lib/mysql/mariadb-bin.index
expire-logs-days = 7
log_slave_updates = 1
log_bin_trust_function_creators = 1
# SAFETY #
max-allowed-packet = 16M