Github user ahgittin commented on the issue:

    https://github.com/apache/brooklyn-server/pull/823
  
    @Graeme-Miller @drigodwin odd - local seemed to work for me but sometimes 
mysql is weird which NIC/socket it uses for localhost, and different versions 
are different.  good fix.
    
    two things--
    
    * is the same update made to brooklyn-library ?
    
    * is there a reason we're not consistent what perms we give to the two 
users?  (this PR gives `usage` to the users @ `%` but `all` to @ `localhost` -- 
previously was `all on visitors` and `usage` elsewhere, to both users) ... in 
other words should the file read
    
    ```
    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 *.* to 'brooklyn'@'localhost' identified by 
'${config["creation.script.password"]!"br00k11n"}';
    grant all privileges on visitors.* to 'brooklyn'@'localhost';
     ```



---

Reply via email to