Magento – Magento data migration using two different servers

magento2-migration-toolmigration

My current Magento 1 site hosting on server which is not supported for Magento 2

So for the data migration and delta migration

I need to install my magento 2 on another server then need to remotely connect with Magento 1 database and then perform migration

My question is how to connect remote database with data migration tool ?

Is there any possibility to migrate data when magento 1 and Magento 2 hosted on 2 different servers.

Best Answer

Yes of course you can do this

You have to use your "external IP" instead of using "localhost", you also need to use "3306" port (if you want to use this method you have to be sure that you are allowed to connect using external IP, please ask your hosting to allow it).

I have this point before and But I had some difficulties to make connection between two server and to avoid this way, I only copied the database from old server to the new server (no need to copy Magento files only the DB), After this you can do the migration within the two DBs in the same server