Skip to content

Commit

Permalink
another fix syntax for granting access
Browse files Browse the repository at this point in the history
  • Loading branch information
bikegeek committed Jul 23, 2023
1 parent f97962c commit ade196e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion METdbLoad/sql/scripts/db_prep.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def create_database(self):

# Permissions
perms_list = ['"'GRANT INSERT, DELETE, UPDATE, INDEX, DROP ON , self.db_name,
'.*' to ', "'",self.user_name, "'", "@'%'"]
'.* to ', "'",self.user_name, "'", "@'%'"]

perms_str = ''.join(perms_list)
perms_cmd = uname_pass + perms_str
Expand Down

0 comments on commit ade196e

Please sign in to comment.