Seamlessly transfer DynamoDB tables to MySQL server with automatic table structure updates via ALTER TABLE. Version 1.0.6 is the latest stable release, with infrequent updates. Supports parallel scanning via @shelf/dynamodb-parallel-scan and adjustable concurrency. Suitable for production environments to run complex queries on MySQL 8 without PartiQL. Differentiators: automatic schema evolution on repeated runs, configurable MySQL engine/charset, and verbose mode. Uses promise-mysql for async MySQL operations.
npm install dynamodb-to-mysqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates importing and using dynamodb2MySQL to transfer a single DynamoDB table to MySQL. Environment variables must be set beforehand.
Set the required environment variables in your shell or process before invoking the library.
Ensure you intend to transfer all tables; use dynamodb2MySQL for specific tables.
Call connection.end() after transfer or use the library's internal cleanup (if any); otherwise manage connections manually.
None.
Verify MYSQL_HOST and ensure MySQL server is accessible from the running environment.
Run: npm install @aws-sdk/client-dynamodb
Add the required IAM policy as described in the README.