github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/dm/tests/full_mode/data/db1.prepare.user.sql (about) 1 drop user if exists 'dm_full'; 2 flush privileges; 3 create user 'dm_full'@'%' identified by '123456'; 4 grant all privileges on *.* to 'dm_full'@'%'; 5 revoke replication slave, replication client, super on *.* from 'dm_full'@'%'; 6 revoke create temporary tables, lock tables, create routine, alter routine, event, create tablespace, file, shutdown, execute, process, index on *.* from 'dm_full'@'%'; # privileges not supported by TiDB 7 flush privileges;