Repository: brooklyn-server
Updated Branches:
  refs/heads/master 16c788edc -> 7a434e340


Update visitors-creation-script.sql

Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/413aa2cf
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/413aa2cf
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/413aa2cf

Branch: refs/heads/master
Commit: 413aa2cf9cf2593bef33482796892c1370dd2f78
Parents: 16c788e
Author: Graeme-Miller <[email protected]>
Authored: Thu Sep 14 12:52:06 2017 +0100
Committer: GitHub <[email protected]>
Committed: Thu Sep 14 12:52:06 2017 +0100

----------------------------------------------------------------------
 launcher/src/test/resources/visitors-creation-script.sql | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/413aa2cf/launcher/src/test/resources/visitors-creation-script.sql
----------------------------------------------------------------------
diff --git a/launcher/src/test/resources/visitors-creation-script.sql 
b/launcher/src/test/resources/visitors-creation-script.sql
index 1640d1b..2fef262 100644
--- a/launcher/src/test/resources/visitors-creation-script.sql
+++ b/launcher/src/test/resources/visitors-creation-script.sql
@@ -20,13 +20,12 @@ create database visitors;
 use visitors;
 
 
-# the below will create user (and note create user not supported in some 
dialects)
+# Create two users: 'brooklyn'@'%' and 'brooklyn'@'localhost' with full access
 # default password specified for compatibility with older blueprints that 
don't provide config;
 # if your blueprint sets the password it can be removed here
 grant usage on *.* to 'brooklyn'@'%' identified by 
'${config["creation.script.password"]!"br00k11n"}';
-grant all privileges on visitors.* to 'brooklyn'@'%';
 # useful if sockets work also
-grant all privileges on visitors.* to 'brooklyn'@'localhost';
+grant all privileges on *.* to 'brooklyn'@'localhost' identified by 
'${config["creation.script.password"]!"br00k11n"}';
 
 # drop the anonymous users eg ''@'localhost' and sometimes other local 
hostnames
 # (necessary for same-host access as these are more restrictive rules that 
trump the wildcard above)

Reply via email to