From 8361ccea155f6756a2a8ebaa013495f34730b7f1 Mon Sep 17 00:00:00 2001 From: zhangjianweibj Date: Sat, 27 Jul 2019 17:31:23 +0800 Subject: [PATCH 1/2] mysql init error --- mysql-init/mysql-init.d/02-users.sql.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/mysql-init/mysql-init.d/02-users.sql.j2 b/mysql-init/mysql-init.d/02-users.sql.j2 index 00c7512b6..bd4410238 100644 --- a/mysql-init/mysql-init.d/02-users.sql.j2 +++ b/mysql-init/mysql-init.d/02-users.sql.j2 @@ -16,4 +16,5 @@ GRANT ALL ON {{ db }}.* TO '{{ monapi_user }}'@'%' IDENTIFIED BY '{{ monapi_pw } GRANT ALL ON {{ db }}.* TO '{{ monapi_user }}'@'localhost' IDENTIFIED BY '{{ monapi_pw }}'; GRANT ALL ON {{ db }}.* TO '{{ thresh_user }}'@'%' IDENTIFIED BY '{{ thresh_pw }}'; GRANT ALL ON {{ db }}.* TO '{{ thresh_user }}'@'localhost' IDENTIFIED BY '{{ thresh_pw }}'; +FLUSH PRIVILEGES; {%- endif %} From 672d759792522c922a9c81bf49faabae49d3c49b Mon Sep 17 00:00:00 2001 From: zhangjianweibj Date: Mon, 23 Sep 2019 10:38:18 +0800 Subject: [PATCH 2/2] fix mysql init bug --- mysql-init/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql-init/build.yml b/mysql-init/build.yml index 7f783dfe1..7c176da0e 100644 --- a/mysql-init/build.yml +++ b/mysql-init/build.yml @@ -2,6 +2,6 @@ repository: monasca/mysql-init variants: - tag: latest aliases: - - :1.5.4 + - :1.5.5 - :1.5 - :1