mysql> show variables like '%gtid_mode%'; +---------------+-------+ | Variable_name | Value | +---------------+-------+ | gtid_mode | ON | +---------------+-------+ 1 row in set (0.00 sec) mysql> show variables like '%enforce_gtid_consistency%'; +--------------------------+-------+ | Variable_name | Value | +--------------------------+-------+ | enforce_gtid_consistency | ON | +--------------------------+-------+ 1 row in set (0.00 sec) mysql> show variables like '%binlog_format%'; +---------------+-------+ | Variable_name | Value | +---------------+-------+ | binlog_format | ROW | +---------------+-------+ 1 row in set (0.00 sec)
k8s-master :) show databases; SHOW DATABASES Query id: 7469cc9b-da21-44ad-9eb5-f32cddcadbe7 ┌─name────────────────────────┐ │ audit │ │ data_dataTransfer_ch │ │ data_dataTransfer_ch_update │ │ default │ │ system │ │ tstu │ └─────────────────────────────┘ 6 rows in set. Elapsed: 0.002 sec.
k8s-master :) use data_dataTransfer_ch_update; USE data_dataTransfer_ch_update Query id: 552cecae-df70-49e1-a4c4-8bae3e7f4f7d Ok. 0 rows in set. Elapsed: 0.001 sec.
k8s-master :) select task_id,data_val from data_dataTransfer_ch_update.t_task_check_field_data where task_id = '796D82C8-CB64-41AC-84EE-9D292880FEBC';
SELECT task_id, data_val FROM data_dataTransfer_ch_update.t_task_check_field_data WHERE task_id = '796D82C8-CB64-41AC-84EE-9D292880FEBC'