Skip to content

Commit 1ba9ad6

Browse files
authored
Merge pull request #3837 from ClickHouse/mysql-binlog-faq
mysql clickpipe: binlog faq
2 parents 81b33a1 + edea5d5 commit 1ba9ad6

File tree

1 file changed

+8
-3
lines changed
  • docs/integrations/data-ingestion/clickpipes/mysql

1 file changed

+8
-3
lines changed

docs/integrations/data-ingestion/clickpipes/mysql/faq.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,15 @@ title: 'ClickPipes for MySQL FAQ'
99
# ClickPipes for MySQL FAQ
1010

1111
### Does the MySQL ClickPipe support MariaDB? {#does-the-clickpipe-support-mariadb}
12-
Yes, the MySQL ClickPipe supports MariaDB 10.0 and above. The configuration for it is very similar to MySQL, with the GTID behaviour being enabled by default.
12+
Yes, the MySQL ClickPipe supports MariaDB 10.0 and above. The configuration for it is very similar to MySQL, using GTID replication by default.
1313

14-
### Does the MySQL ClickPipe support Planetscale, Vitess? {#does-the-clickpipe-support-planetscale-vitess}
15-
Currently, we support only standard MySQL. Since PlanetScale is built on Vitess, integrating with Vitess's VStream API and handling VGtids (Vitess Global Transaction IDs) to track incremental changes is required. This differs from how CDC operates in native MySQL. Adding support for this functionality is being actively worked on.
14+
### Does the MySQL ClickPipe support PlanetScale, Vitess, or TiDB? {#does-the-clickpipe-support-planetscale-vitess}
15+
No, these do not support MySQL's binlog API.
16+
17+
### How is replication managed? {#how-is-replication-managed}
18+
We support both `GTID` & `FilePos` replication. Unlike Postgres there is no slot to manage offset. Instead, you must configure your MySQL server to have a sufficient binlog retention period. If our offset into the binlog becomes invalidated *(eg, mirror paused too long, or database failover occurs while using `FilePos` replication)* then you will need to resync the pipe. Make sure to optimize materialized views depending on destination tables, as inefficient queries can slow down ingestion to fall behind the retention period.
19+
20+
It's also possible for an inactive database to rotate the log file without allowing ClickPipes to progress to a more recent offset. You may need to setup a heartbeat table with regularly scheduled updates.
1621

1722
### Why am I getting a TLS certificate validation error when connecting to MySQL? {#tls-certificate-validation-error}
1823
If you see an error like `failed to verify certificate: x509: certificate is not valid for any names`, this occurs when the SSL/TLS certificate on your MySQL server doesn't include the connecting hostname (e.g., EC2 instance DNS name) in its list of valid names. ClickPipes enables TLS by default to provide secure encrypted connections.

0 commit comments

Comments
 (0)