Skip to content

Commit c0936ed

Browse files
author
Shlomi Noach
committed
clarified privileges requirements
1 parent 2c5668d commit c0936ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/logic/inspect.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ func (this *Inspector) validateGrants() error {
210210
return nil
211211
}
212212
log.Debugf("Privileges: Super: %t, REPLICATION CLIENT: %t, REPLICATION SLAVE: %t, ALL on *.*: %t, ALL on %s.*: %t", foundSuper, foundReplicationClient, foundReplicationSlave, foundAll, sql.EscapeName(this.migrationContext.DatabaseName), foundDBAll)
213-
return log.Errorf("User has insufficient privileges for migration. Needed: SUPER, REPLICATION SLAVE and ALL on %s.*", sql.EscapeName(this.migrationContext.DatabaseName))
213+
return log.Errorf("User has insufficient privileges for migration. Needed: SUPER|REPLICATION CLIENT, REPLICATION SLAVE and ALL on %s.*", sql.EscapeName(this.migrationContext.DatabaseName))
214214
}
215215

216216
// restartReplication is required so that we are _certain_ the binlog format and

0 commit comments

Comments
 (0)