Transfer data between two remote servers. from sql server to mysql










0















I need to periodically (every day) transfer an SQL Server table from a remote SQL server database to a MYSQL database table.



SQL Server database is under local domain. MYSQL database is hosted in external internet hosting provider



How can implement that issue with a c# desktop application? Have I to open/close an internet port using FTP client?



Best Regards










share|improve this question



















  • 2





    You have many, many options. The easiest option is to do a data export to a CSV file, then transfer that file to the other machine and import it into the other serve via LOAD DATA. This can all be done through ssh which you can automate using C#. A harder/slower/more fragile approach would be to select * from the local table and then while fetching doing insert into remote_table on the remote server. But this has issues whenever your connection breaks and you need to set up a tunnel from the local machine to the remote server to tunnel the database connection through.

    – Corion
    Nov 15 '18 at 11:41











  • These might of some help :- codeproject.com/Articles/29106/… , hevodata.com/blog/migrate-mysql-database-between-two-servers

    – Ankur Chrungoo
    Nov 15 '18 at 11:45















0















I need to periodically (every day) transfer an SQL Server table from a remote SQL server database to a MYSQL database table.



SQL Server database is under local domain. MYSQL database is hosted in external internet hosting provider



How can implement that issue with a c# desktop application? Have I to open/close an internet port using FTP client?



Best Regards










share|improve this question



















  • 2





    You have many, many options. The easiest option is to do a data export to a CSV file, then transfer that file to the other machine and import it into the other serve via LOAD DATA. This can all be done through ssh which you can automate using C#. A harder/slower/more fragile approach would be to select * from the local table and then while fetching doing insert into remote_table on the remote server. But this has issues whenever your connection breaks and you need to set up a tunnel from the local machine to the remote server to tunnel the database connection through.

    – Corion
    Nov 15 '18 at 11:41











  • These might of some help :- codeproject.com/Articles/29106/… , hevodata.com/blog/migrate-mysql-database-between-two-servers

    – Ankur Chrungoo
    Nov 15 '18 at 11:45













0












0








0








I need to periodically (every day) transfer an SQL Server table from a remote SQL server database to a MYSQL database table.



SQL Server database is under local domain. MYSQL database is hosted in external internet hosting provider



How can implement that issue with a c# desktop application? Have I to open/close an internet port using FTP client?



Best Regards










share|improve this question
















I need to periodically (every day) transfer an SQL Server table from a remote SQL server database to a MYSQL database table.



SQL Server database is under local domain. MYSQL database is hosted in external internet hosting provider



How can implement that issue with a c# desktop application? Have I to open/close an internet port using FTP client?



Best Regards







mysql sql-server transfer






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 15 '18 at 11:59









jarlh

29.3k52138




29.3k52138










asked Nov 15 '18 at 11:28









Jorge MJorge M

206




206







  • 2





    You have many, many options. The easiest option is to do a data export to a CSV file, then transfer that file to the other machine and import it into the other serve via LOAD DATA. This can all be done through ssh which you can automate using C#. A harder/slower/more fragile approach would be to select * from the local table and then while fetching doing insert into remote_table on the remote server. But this has issues whenever your connection breaks and you need to set up a tunnel from the local machine to the remote server to tunnel the database connection through.

    – Corion
    Nov 15 '18 at 11:41











  • These might of some help :- codeproject.com/Articles/29106/… , hevodata.com/blog/migrate-mysql-database-between-two-servers

    – Ankur Chrungoo
    Nov 15 '18 at 11:45












  • 2





    You have many, many options. The easiest option is to do a data export to a CSV file, then transfer that file to the other machine and import it into the other serve via LOAD DATA. This can all be done through ssh which you can automate using C#. A harder/slower/more fragile approach would be to select * from the local table and then while fetching doing insert into remote_table on the remote server. But this has issues whenever your connection breaks and you need to set up a tunnel from the local machine to the remote server to tunnel the database connection through.

    – Corion
    Nov 15 '18 at 11:41











  • These might of some help :- codeproject.com/Articles/29106/… , hevodata.com/blog/migrate-mysql-database-between-two-servers

    – Ankur Chrungoo
    Nov 15 '18 at 11:45







2




2





You have many, many options. The easiest option is to do a data export to a CSV file, then transfer that file to the other machine and import it into the other serve via LOAD DATA. This can all be done through ssh which you can automate using C#. A harder/slower/more fragile approach would be to select * from the local table and then while fetching doing insert into remote_table on the remote server. But this has issues whenever your connection breaks and you need to set up a tunnel from the local machine to the remote server to tunnel the database connection through.

– Corion
Nov 15 '18 at 11:41





You have many, many options. The easiest option is to do a data export to a CSV file, then transfer that file to the other machine and import it into the other serve via LOAD DATA. This can all be done through ssh which you can automate using C#. A harder/slower/more fragile approach would be to select * from the local table and then while fetching doing insert into remote_table on the remote server. But this has issues whenever your connection breaks and you need to set up a tunnel from the local machine to the remote server to tunnel the database connection through.

– Corion
Nov 15 '18 at 11:41













These might of some help :- codeproject.com/Articles/29106/… , hevodata.com/blog/migrate-mysql-database-between-two-servers

– Ankur Chrungoo
Nov 15 '18 at 11:45





These might of some help :- codeproject.com/Articles/29106/… , hevodata.com/blog/migrate-mysql-database-between-two-servers

– Ankur Chrungoo
Nov 15 '18 at 11:45












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53318462%2ftransfer-data-between-two-remote-servers-from-sql-server-to-mysql%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53318462%2ftransfer-data-between-two-remote-servers-from-sql-server-to-mysql%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Top Tejano songwriter Luis Silva dead of heart attack at 64

ReactJS Fetched API data displays live - need Data displayed static

政党