To use the MySQL CDC features, we need to create a MySQL user account with appropriate privileges on all databases for which RisingWave will read from.Documentation Index
Fetch the complete documentation index at: https://docs.risingwave.com/llms.txt
Use this file to discover all available pages before exploring further.
Create a user and grant privileges
- Create a MySQL user with the following query.
- Grant the appropriate privileges to the user.
- Finalize the privileges.
Enable the binlog
The binlog must be enabled for MySQL replication. The binary logs record transaction updates for replication tools to propagate changes.- Check if the
log-binis already on.
- If it is
OFF, configure your MySQL server configuration file, my.cnf, with the following properties described below. Restart your MySQL server to let the configurations take effect.
- Confirm your changes by checking the
log-binagain.