Want to schedule and automate from Redshift to MySQL copy data task?
Try Withdata DB Copier, a desktop tool, you can scheduled Redshift to MySQL copy data task easily, just a few mouse clicks!
Let computer automate repetitive Redshift to MySQL transfer data busy work, DB Copier make our life easier!
Here you can download and install DB Copier.
Schedule and automate Redshift to MySQL data task
1. Select and run a task from follow list:
- Merge multiple similar Redshift tables to 1 MySQL table
- Batch copy Redshift tables to MySQL
- Copy Redshift query results to MySQL table
- Copy Redshift table data to MySQL
- Migrate Redshift to MySQL
- Sync data from Redshift to MySQL
- Convert Redshift To MySQL
2. Save session and create .bat file.
More about Withdata DBCopier – the tool to copy Redshift data to MySQL
Redshift → MySQL reference
Type mapping
| Value kind | in Redshift | in MySQL |
|---|---|---|
| Int | integer | INT |
| Bigint | bigint | BIGINT |
| Decimal | numeric(p,s) | DECIMAL(p,s) |
| Float | double precision | DOUBLE |
| Text | varchar(n) | VARCHAR(n) |
| Long text | varchar(max) | LONGTEXT |
| Date | date | DATE |
| Datetime | timestamp | DATETIME |
| Binary | (none) | LONGBLOB |
| Boolean | boolean | TINYINT(1) |
| JSON | super | JSON |
Dialect differences
Both Redshift and MySQL are database servers, so the differences below are dialect-level: the same concept is spelled differently on each side.
| Property | in Redshift | in MySQL |
|---|---|---|
| port | 5439 | 3306 |
| identifiers | "double quotes" | `backtick` |
| dates | timestamp, date | DATETIME, TIMESTAMP, DATE, TIME |
| long text | VARCHAR(MAX) | TINYTEXT / TEXT / MEDIUMTEXT / LONGTEXT |
| binary | — | BLOB / TINYBLOB / LONGBLOB |
Command line
| Side | Command |
|---|---|
| Redshift | UNLOAD to S3 |
| MySQL | mysqldump, or mysql -e "SELECT ..." > out.csv |
| MySQL (load) | mysqlimport, or LOAD DATA INFILE |
| Redshift (load) | COPY from S3 |
No counterpart
- MySQL has no equivalent for Binary - it has to be flattened or dropped.
Convert your data online, free
Free in-browser converters for CSV, Excel, JSON, XML and SQL: Withdata Online Data Conversion. Large files, batch conversion or scheduling? See the offline desktop apps, or browse all data conversion tools.