Schedule and automate Redshift to MySQL task

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:

2. Save session and create .bat file.

3. Set scheduled task.


More about Withdata DBCopier – the tool to copy Redshift data to MySQL

30-day free trial Download DBCopier

Redshift → MySQL reference

Type mapping

Value kindin Redshiftin MySQL
IntintegerINT
BigintbigintBIGINT
Decimalnumeric(p,s)DECIMAL(p,s)
Floatdouble precisionDOUBLE
Textvarchar(n)VARCHAR(n)
Long textvarchar(max)LONGTEXT
DatedateDATE
DatetimetimestampDATETIME
Binary(none)LONGBLOB
BooleanbooleanTINYINT(1)
JSONsuperJSON

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.

Propertyin Redshiftin MySQL
port54393306
identifiers"double quotes"`backtick`
datestimestamp, dateDATETIME, TIMESTAMP, DATE, TIME
long textVARCHAR(MAX)TINYTEXT / TEXT / MEDIUMTEXT / LONGTEXT
binary—BLOB / TINYBLOB / LONGBLOB

Command line

SideCommand
RedshiftUNLOAD to S3
MySQLmysqldump, 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.


Posted

in

by