Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Answer: What's the best way to copy LOTS! of records between 2 mySQL servers?

( #29354=categorized answer: print w/ replies, xml ) Need Help??

Q&A > database programming > What's the best way to copy LOTS! of records between 2 mySQL servers? - Answer contributed by Russ

MySQL also has
SELECT * FROM skr INTO OUTFILE 'filename'; LOAD DATA INFILE "filename" INTO TABLE skr;
The MySQL team says this is a very fast way to copy data from one server to another.

Check the MySQL Manual for more info.

Russ

  • Comment on Answer: What's the best way to copy LOTS! of records between 2 mySQL servers?
  • Download Code
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2016-06-29 10:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (377 votes). Check out past polls.