# Privilege Required for Sync-diff-inspector

__*sync-diff-inspector privilege*__

+ source end database (upstream)
  + SELECT
  + Show_DATABASES
  + RELOAD
+ Target-side database (downstream)
  + SELECT
  + Show_DATABASES
  + RELOAD

-------------------------------------------------------------
The sync-diff-inspector needs to obtain table schema information and query data. The database privilege required are as follows:

Upstream database
SELECT (check data for comparison)
SHOW_DATABASES (view library name)
RELOAD (view table schema)

Downstream databases
SELECT (check data for comparison)
SHOW_DATABASES (view library name)
RELOAD (view table schema)