Getting MySQL to DuckDB usually starts with mysqldump and a DuckDB file that gets copied around. It works for a first look. The file is stale the moment it is written, every copy drifts from the others, and an update made in MySQL never reaches any of them.
Here are the common ways to put MySQL data in front of DuckDB, each with a real use:
The DuckDB MySQL extension . DuckDB logs in to MySQL and reads the current rows on every query. Nothing is copied, but every notebook that runs it puts load on the production server.
mysqldump or SELECT ... INTO OUTFILE , then COPY into DuckDB. A script and a scheduler rebuild a DuckDB file. Freshness is hours to daily, and only full reloads are possible, so updates and deletes never arrive as changes.
Debezium and Kafka, with a consumer that writes Parquet. Changes land within seconds.…