From a6853db85165023a019bbabc8cbabf903c1d9bdc Mon Sep 17 00:00:00 2001 From: pangliye Date: Mon, 12 Dec 2016 14:28:56 +0800 Subject: [PATCH] Problem about permission sql need add "flush privileges;" To take effect Change-Id: I422fd2c6b9f045fd13eb0c3938f343f8bae3607e --- sahara/plugins/vanilla/hadoop2/resources/create_oozie_db.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sahara/plugins/vanilla/hadoop2/resources/create_oozie_db.sql b/sahara/plugins/vanilla/hadoop2/resources/create_oozie_db.sql index 3b2978a..bcb1b19 100644 --- a/sahara/plugins/vanilla/hadoop2/resources/create_oozie_db.sql +++ b/sahara/plugins/vanilla/hadoop2/resources/create_oozie_db.sql @@ -1,4 +1,5 @@ create database oozie; grant all privileges on oozie.* to 'oozie'@'localhost' identified by 'password'; grant all privileges on oozie.* to 'oozie'@'%' identified by 'password'; -exit \ No newline at end of file +flush privileges; +exit