Roger Wang
03/25/2024, 8:45 AMCREATE TABLE orders (
order_id INT,
order_date TIMESTAMP(0),
customer_name STRING,
price DECIMAL(10, 5),
product_id INT,
order_status BOOLEAN,
PRIMARY KEY(order_id) NOT ENFORCED
) WITH (
'connector' = 'mysql-cdc',
'hostname' = 'localhost',
'port' = '3306',
'username' = 'root',
'password' = '123456',
'database-name' = 'mydb',
'table-name' = 'orders');
May I know is there a solution can avoid to hardcode password in the code?
Truly appreciate!rmetzger
03/25/2024, 4:29 PMKeyur Makwana
06/12/2024, 5:50 AM