Batch transfer data from SQL Server tables to MySQL without programming

Want to batch transfer data from SQL Server to MySQL ?

Using DBCopier, a native GUI software, a SQL Server to MySQL converter, you can batch transfer data from SQL Server to MySQL (MariaDB, Percona) easily and fast.

  • Can run in GUI mode, Step by Step, just a few mouse clicks.
  • Can run in Command line, for Scheduled Tasks and Streams.
  • Support Windows, Linux, macOS.

Download DBCopier Download DBCopier

Batch transfer data from SQL Server to MySQL (MariaDB, Percona)

Login to SQL Server and target MySQL -> Select source SQL Server tables -> Set target MySQL tables -> Transfer SQL Server data to MySQL

Choose source SQL Server database and logon.

Batch transfer data from SQL Server  to MySQL - Choose SQL Server and logon

Choose target MySQL database and logon.

Batch transfer data from SQL Server  to MySQL - Choose MySQL and logon

Click “Wizard – Import All Tables” at task dialog.

Batch transfer data from SQL Server  to MySQL  (MariaDB, Percona) - Task Window

then show the wizard.

1. Open source SQL Server .

Batch transfer data from SQL Server  to MySQL  (MariaDB, Percona) - Open source database

2. List target MySQL tables.

Batch transfer data from SQL Server  to MySQL  (MariaDB, Percona) - list target tables

3. Select MySQL tables to import.

Batch transfer data from SQL Server  to MySQL  (MariaDB, Percona) - select tables

4. Batch transfer data from SQL Server to MySQL.

Batch transfer data from SQL Server  to MySQL  (MariaDB, Percona) - import

You can schedule and automate this “SQL Server to MySQL” conversion task by:

1) Save session and create .bat (Windows) or .sh (Linux/macOS) file.

2) Set scheduled task.


More about DBCopier – SQL Server to MySQL sync tool

Download DBCopier for 30-day free trial Download DBCopier

SQL Server → MySQL reference

Type mapping

Value kindin SQL Serverin MySQL
IntintINT
BigintbigintBIGINT
Decimaldecimal(p,s)DECIMAL(p,s)
FloatfloatDOUBLE
Textnvarchar(n)VARCHAR(n)
Long textnvarchar(max)LONGTEXT
DatedateDATE
Datetimedatetime2DATETIME
Binaryvarbinary(max)LONGBLOB
BooleanbitTINYINT(1)
JSONnvarchar(max)JSON

Dialect differences

Both SQL Server and MySQL are database servers, so the differences below are dialect-level: the same concept is spelled differently on each side.

Propertyin SQL Serverin MySQL
port14333306
identifiers[square brackets]`backtick`
row limitSELECT TOP nLIMIT n
datesdatetime, datetime2, date, timeDATETIME, TIMESTAMP, DATE, TIME
long textnvarchar(max)TINYTEXT / TEXT / MEDIUMTEXT / LONGTEXT
binaryvarbinary(max)BLOB / TINYBLOB / LONGBLOB

Command line

SideCommand
SQL Serverbcp
MySQLmysqldump, or mysql -e "SELECT ..." > out.csv
MySQL (load)mysqlimport, or LOAD DATA INFILE
SQL Server (load)bcp, or BULK INSERT

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.