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/5a8e2d0e Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/5a8e2d0e Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/5a8e2d0e
Branch: refs/heads/master Commit: 5a8e2d0e66cdfa32bff057cfce238c9b3785d8cf Parents: 413aa2c Author: Graeme-Miller <[email protected]> Authored: Thu Sep 14 12:53:11 2017 +0100 Committer: GitHub <[email protected]> Committed: Thu Sep 14 12:53:11 2017 +0100 ---------------------------------------------------------------------- .../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/5a8e2d0e/camp/camp-brooklyn/src/test/resources/visitors-creation-script.sql ---------------------------------------------------------------------- diff --git a/camp/camp-brooklyn/src/test/resources/visitors-creation-script.sql b/camp/camp-brooklyn/src/test/resources/visitors-creation-script.sql index 1640d1b..2fef262 100644 --- a/camp/camp-brooklyn/src/test/resources/visitors-creation-script.sql +++ b/camp/camp-brooklyn/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)
