From 76324208508c4ce5eae98da0f3169f78470a2c8d Mon Sep 17 00:00:00 2001 From: Jimmy McCrory Date: Sun, 9 Oct 2016 19:53:55 -0700 Subject: [PATCH] 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 cfdda72e962d6504626f0f24551feb78f82c0ec9) --- templates/my.cnf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/my.cnf.j2 b/templates/my.cnf.j2 index 9d2f76ef..08b04846 100644 --- a/templates/my.cnf.j2 +++ b/templates/my.cnf.j2 @@ -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