数据湖探索 DLI-JDBC源表:示例

时间:2023-11-01 16:20:09

示例

create table jdbcSource (  car_id STRING,  car_owner STRING,  car_age INT,  average_speed INT,  total_miles INT)with (  'connector.type' = 'jdbc',  'connector.url' = 'jdbc:mysql://xx.xx.xx.xx:3306/xx',  'connector.table' = 'jdbc_table_name',  'connector.driver' = 'com.mysql.jdbc.Driver',  'connector.username' = 'xxx',  'connector.password' = 'xxxxxx');
support.huaweicloud.com/sqlref-flink-dli/dli_08_0303.html