Problem about permission

sql need  add "flush privileges;" To take effect

Change-Id: I422fd2c6b9f045fd13eb0c3938f343f8bae3607e
This commit is contained in:
pangliye 2016-12-12 14:28:56 +08:00
parent 06023f53d3
commit a6853db851
1 changed files with 2 additions and 1 deletions

View File

@ -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
flush privileges;
exit