You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,9 @@ For realtime data sync from MySQL to ClickHouse:
93
93
1. Prepare config file. Use `example_config.yaml` as an example.
94
94
2. Configure MySQL and ClickHouse servers:
95
95
- MySQL server configuration file `my.cnf` should include following settings (required to write binary log in raw format, and enable password authentication):
96
+
<details>
97
+
<summary>🛠 MySQL Config</summary>
98
+
96
99
```ini
97
100
[mysqld]
98
101
# ... other settings ...
@@ -122,7 +125,13 @@ binlog_format ROW
122
125
binlog_expire_logs_seconds 86400
123
126
```
124
127
128
+
</details>
129
+
125
130
- ClickHouse server config `override.xml` should include following settings (it makes clickhouse apply final keyword automatically to handle updates correctly):
131
+
132
+
<details>
133
+
<summary>🛠 ClickHouse Config</summary>
134
+
126
135
```xml
127
136
<clickhouse>
128
137
<!-- ... other settings ... -->
@@ -146,7 +155,7 @@ Execute the following command in clickhouse:
0 commit comments