Skip to content

Commit

Permalink
Simplify by only granting permissions once.
Browse files Browse the repository at this point in the history
Signed-off-by: Jacques Grove <aquarapid@gmail.com>
  • Loading branch information
aquarapid committed May 5, 2021
1 parent ad495cd commit 0272d9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/vttablet/onlineddl/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ var (
`ALTER USER %s IDENTIFIED BY '%s'`,
}
sqlGrantOnlineDDLSuper = []string{
`GRANT SUPER, REPLICATION SLAVE ON *.* TO %s`,
`GRANT SUPER ON *.* TO %s`,
}
sqlGrantOnlineDDLUser = []string{
`GRANT PROCESS, REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO %s`,
Expand Down

0 comments on commit 0272d9b

Please sign in to comment.