ihadoop commented on issue #3140:
URL: https://github.com/apache/flink-cdc/issues/3140#issuecomment-1997037995

   you can create sink mysql table
   
   ```sql
   CREATE TABLE mysql_sink (
     `id`  bigint ,
     `s_name` varchar(100)  ,
     `s_int` bigint,
    PRIMARY KEY(id) NOT ENFORCED 
   ) WITH (
    'connector' = 'jdbc',
   'driver' = 'com.mysql.cj.jdbc.Driver',
   'url' = 'jdbc:mysql://192.168.1.15:3306/cdc?serverTimezone=UTC&useSSL=false',
    'username' = 'root',
    'password' = '111111',
    'table-name' = 't_t'
   );
   
   
   insert into mysql_sink select * from cdc_table
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to