From 79d301ae7130d0487553c81f5fe08bb651597da6 Mon Sep 17 00:00:00 2001 From: StrikeW Date: Mon, 4 Mar 2024 14:10:29 +0800 Subject: [PATCH] minor --- e2e_test/source/cdc/mysql_cdc.sql | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/e2e_test/source/cdc/mysql_cdc.sql b/e2e_test/source/cdc/mysql_cdc.sql index c7d0d1b02e89..dd1a1f70628a 100644 --- a/e2e_test/source/cdc/mysql_cdc.sql +++ b/e2e_test/source/cdc/mysql_cdc.sql @@ -51,12 +51,11 @@ VALUES (1,1,'no'), -- user rwcdc used for shared mysql source CREATE USER 'rwcdc'@'%' IDENTIFIED BY '123456'; -GRANT SELECT, REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO 'dbz'@'%'; +GRANT SELECT, REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO 'rwcdc'@'%'; CREATE USER 'dbz'@'%' IDENTIFIED BY '123456'; GRANT SELECT, RELOAD, SHOW DATABASES, REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO 'dbz'@'%'; - CREATE TABLE tt3 (v1 int primary key, v2 timestamp); INSERT INTO tt3 VALUES (1, '2020-07-30 10:08:22'); INSERT INTO tt3 VALUES (2, '2020-07-31 10:09:22');