Transfer data between two remote servers. from sql server to mysql
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
add a comment |
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
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 viaLOAD DATA
. This can all be done throughssh
which you can automate using C#. A harder/slower/more fragile approach would be toselect *
from the local table and then while fetching doinginsert 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
add a comment |
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
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
mysql sql-server transfer
edited Nov 15 '18 at 11:59
jarlh
29.7k52138
29.7k52138
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 viaLOAD DATA
. This can all be done throughssh
which you can automate using C#. A harder/slower/more fragile approach would be toselect *
from the local table and then while fetching doinginsert 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
add a comment |
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 viaLOAD DATA
. This can all be done throughssh
which you can automate using C#. A harder/slower/more fragile approach would be toselect *
from the local table and then while fetching doinginsert 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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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 throughssh
which you can automate using C#. A harder/slower/more fragile approach would be toselect *
from the local table and then while fetching doinginsert 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