davidzollo commented on issue #10085:
URL: https://github.com/apache/seatunnel/issues/10085#issuecomment-3556774443

   
   The `connector-cdc-mysql` source connector relies on the `connector-jdbc` 
plugin to provide the implementation for the MySQL Catalog 
(`MySqlCatalogFactory`).
   
   In **Local Mode**, SeaTunnel loads plugins from the `connectors` directory. 
The `install-plugin.sh` script, which is used to download connectors, uses the 
`-Dtransitive=false` flag by default. This means it **does not** automatically 
download dependencies of the requested plugins.
   
   If you only specify `connector-cdc-mysql` in your `config/plugin_config` 
file, the `connector-jdbc` plugin will be missing, leading to the `Can not find 
catalog table` error.
   
   ## Solution
   
   To resolve this issue, you must explicitly install the `connector-jdbc` 
plugin alongside the CDC connector.
   
   ### Step 1: Update Plugin Configuration
   
   Edit the `config/plugin_config` file in your SeaTunnel distribution. Ensure 
that both `connector-cdc-mysql` and `connector-jdbc` are listed (uncommented).
   
   ```text
   --connectors-v2--
   connector-cdc-mysql
   connector-jdbc
   ...
   ```
   
   ### Step 2: Install Plugins
   
   Run the installation script to download the missing connector:
   
   ```bash
   sh bin/install-plugin.sh
   ```
   
   ### Step 3: Restart Job
   
   Run your SeaTunnel job again in Local mode. It should now correctly locate 
the MySQL Catalog factory.
   
   
   Doc:
   
https://seatunnel.apache.org/docs/2.3.12/start-v2/locally/deployment/#download-the-connector-plugins


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to