hi, im making a vb.net app to make a backup of a mysql database on a remote server.
i could do it easily with just one select and then a loop for all the inserts but the thing is, single inserts for lots of rows are really slow and here i need to copy millions of rows. also this has to be automatic and itll be used on many machines
the query i have on my mind would be somthing like "select * from table1 insert into (remoteserver.remotedatabase.remotetable1)"
im not sure if its possible to access 2 servers in one query? im also assuming that ill need to put all the 2nd connection data in the query (server ip, username, pass)
ive found some stuff online( like openquery) but nothing seemed to help (kept getting syntax errors)
btw the mysql version is 4.1
thanks in advance
Edited by Zingar: n/a