EaseUS Todo PCTrans

Full-featured PC transfer software moves applications, files and accounts between computers in 1 click.

  • Automatic programs migration for Windows PCs.
  • Move user accounts and settings.
  • Support transfer Office, Adobe and more software.
  Free Download

Support Windows 10/8.1/8/7/Vista/XP

banner image

(Easiest Way) How to Move MySQL Database to Another Server

Updated by Roxanne on Dec 11, 2020
Written by Roxanne

"How can I move MySQL from one physical server to another? Such as this exact scenario: I have a MySQL server that uses InnoDB table and is about 20GB in e. I want to move it to a new server, what's the most efficient way to do this?"

MySQL is a relational database management system based on the Structured Query Language. We utilize it for managing information stored in the computer, including personal data or the vast amount of info in a company. Thanks to this free-to-use database management system, the companies have the easy to power their business. So how to migrate the database between two servers for saving these data?

mysql logo

Follow our step-by-step guide to move MySQL database to another server by third-party database transfer tool and the backup program of MySQL. These two methods apply to migrate database in Windows.

(Easiest) How to Transfer MySQL database from One Server to Another

There is no need to learn the command line of other articles mentioned; a few clicks can move the MySQL databases. That's why EaseUS Todo PCTrans stands out from them. All you need is to download this database migration tool and do the 3 easy steps. Trust EaseUS! We are professional to move database from one server to another.

Click the download button for a trial:

  Free Download

Support Windows 10/8.1/8/7/Vista/XP


EaseUS Todo PCTrans supports the migration of MySQL installed on the system disk by default. Also, it helps to transfer the custom installation of MySQL.

Step 1. Run EaseUS Todo PCTrans on both PCs

On the source PC, select "PC to PC" on the main screen of EaseUS Todo PCTrans and move on.

select pc to pc transfer mode

Step 2. Connect two computers

1. Select your target PC to connect via its IP address or device name and click "Connect".

2. Enter the login password of your target PC and click "OK" to confirm.

If you didn't see the target PC in the listed devices, you can also click "Add PC" to manually connect the target PC by inputting its IP address or device name.

connect two PCs

3. Set the transfer direction - "Transfer from this PC to other PC" and click "OK" to continue.

Step 3. Select apps, programs, and software and transfer to the target computer

1. Click "Edit" on the application section, then you can open up the application list.

Then you can select and choose what you want to transfer from the current computer to the target PC.

select apps to transfer from PC to PC

2. After selecting desired applications and programs, click "Finish" to confirm.

At last, click "Transfer" to start the transferring process. 

transfer apps to computer

If you want to do the remote transfer, you can try the "Backup and Restore" mode of EaseUS Todo PCTrans. In the next part, we will introduce database backup program to back it up as a single file using the mysqldump.

How to Migrate Database to Destination Server

Migrating the database between two servers requires the Mysqldump, a command-line utility power to create the MySQL database backup, to clone MySQL database.

First, you need to export databases to Dump file. Then transfer it to the destination server. In the end, import MySQL databases to a new server.

Step 1. Export MySQL Database to Dump File

Log in to your old server and input the systemctl command to stop the MySQL service:

systemctl stop mysql

Export your database as a dump file using mysqldump command:

Dump all MySQL databases: mysqldump -u [user] -p --all-databases > all_databases.sql

Dump a single database:  mysqldump -u root -p --opt [database name] > database_name.sql

Step 2. Transfer MySQL Databases to New Server Using SCP command

SCP is a file transfer program installed on Linux. If you want to use it, you can put the SCP command line on the Command Prompt. If it does not work, you can download the SCP first. Or go back to use EaseUS Todo PCTrans.

All databases:  scp all_databases.sql [email protected]:~/

Single database:  scp database_name.sql [email protected]:~/

Once it is done, you can see the database in the new server.

Step 3. Import Database in MySQL

Run the following command line to import MySQL database's dump file into the new server.

All databases:  mysql -u [user] -p --all-databases < all_databases.sql

Single database:  mysql -u [user] -p newdatabase < database_name.sql

More Options:

If you want to move any specific tables of MySQL database, input the following command:

mysqldump -u [username] -p [database] [table1] [table2] > dump.sql

Was This Page Helpful?

author icon

Updated by Roxanne

Roxanne is one of the main contributors to EaseUS and has created multiple posts on digital devices like PCs, Mobile phones, tablets, Mac, etc. She loves to share ideas with people of the same interest.

Read full bio

Product Reviews

TrustScore 4.7 | 34 reviews
  • EaseUS Todo PCTrans Free is a useful and and reliable software solution created to serve in computer migration operations, be it from one machine to another or from an earlier version of your OS to a newer one.

    Read More
  • EaseUS Todo PCTrans is by the folks at EaseUS who make incredible tools that let you manage your backups and recover your dead hard disks. While it is not an official tool, EaseUS has a reputation for being very good with their software and code.

    Read More
  • It offers the ability to move your entire user account from your old computer, meaning everything is quickly migrated. You still get to keep your Windows installation (and the relevant drivers for your new PC), but you also get all your apps, settings, preferences, images, documents and other important data.

    Read More

About EaseUS Todo PCTrans

EaseUS Todo PCTrans can transfer settings, applications and data between PCs and HDDs. Your all-round PC transfer and migrate software to upgrade devices without re-installation.

Product Reviews