How can I transfer data between 2 MySQL databases?

前端 未结 5 1978
误落风尘
误落风尘 2020-12-14 08:08

I want to do that using a code and not using a tool like \"MySQL Migration Toolkit\". The easiest way I know is to open a connection (using MySQL connectors) to DB1 and read

5条回答
  •  不知归路
    2020-12-14 08:42

    If you enabled binary logging on your current server (and have all the bin logs) you can setup replication for the second server

提交回复
热议问题