Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Commit

Permalink
#6: Give grant permissions for admin user (fixes #4)
Browse files Browse the repository at this point in the history
  • Loading branch information
prabucjs authored and marcoceppi committed Sep 30, 2016
1 parent e567a7e commit bd7565c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/db-relation-joined
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if slave and not admin:
else:
if admin:
runsql(
"grant all privileges on *.* to `%s` identified by '%s'" % (
"grant all privileges on *.* to `%s` identified by '%s' with grant option" % (
user,
service_password))
else:
Expand Down

0 comments on commit bd7565c

Please sign in to comment.