teddy
11/18/2021, 12:37 PMtap-mysql
(bin log replication) and target-redshift
and meltano=1.84.0.
I have a MySQL db (v.8.0) running in a container. I have confirmed I can access the db from the host and the redshifts and AWS credentials have been verified and work perfectly (i.e. resources can be accessed as expected).
When running the following command meltano elt tap-mysql target-redshift --job_id=1
I get the below error.
ELT could not be completed: Cannot start extractor: Catalog discovery failed: command ['path/src/.meltano/extractors/tap-mysql/venv/bin/tap-mysql', '--config', 'path/src/.meltano/run/elt/1/1fab686c-b376-4e35-bb5f-0a8d0aa0565b/tap.d4ae7f81-4de6-403f-81c0-6f03613ef22a.config.json', '--discover'] returned 1
ELT could not be completed: Cannot start extractor: Catalog discovery failed: command ['path/src/.meltano/extractors/tap-mysql/venv/bin/tap-mysql', '--config', 'path/src/.meltano/run/elt/1/1fab686c-b376-4e35-bb5f-0a8d0aa0565b/tap.d4ae7f81-4de6-403f-81c0-6f03613ef22a.config.json', '--discover'] returned 1
Running meltano select tap-mysql --list --all
also returns an error about the Catalog Discovery
Cannot list the selected attributes: Catalog discovery failed: command ['path/src/.meltano/extractors/tap-mysql/venv/bin/tap-mysql', '--config', 'path/src/.meltano/run/tap-mysql/tap.300f8f36-ab05-46f6-93b4-5c113b60b8f0.config.json', '--discover'] returned 1
I am unsure what is the cause of this error and exactly what it means. Any help would be appreciated. 🙏fred_reimer
11/18/2021, 1:11 PMteddy
11/18/2021, 2:08 PM[....]
File "path/src/.meltano/extractors/tap-mysql/venv/lib/python3.8/site-packages/pymysql/charset.py", line 38, in by_id
return self._by_id[id]
KeyError: 255
visch
11/18/2021, 2:13 PMvisch
11/18/2021, 2:13 PMteddy
11/18/2021, 2:16 PMvisch
11/18/2021, 2:18 PM