0

I just want to export/import data between 2 database applicaitons, So I was just wondering if it is possible and what process I have to go through. Would I be able to perform such operation using MySQL server?

I tried using MySQL, but I think it is not possible, so if anybody has any suggestion where to start, I would really appreciate it.

1 Answer 1

0

If the 2 applications not use update or use with separate tables:

SELECT a,b,a+b INTO OUTFILE '/tmp/data.txt'
  FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
  LINES TERMINATED BY '\n'
  FROM test_table;
LOAD DATA INFILE '/tmp/data.txt' INTO TABLE db2.my_table;

If require update, then maybe load it into temporary tables and process it with further queries from there.

2
  • how about to mass uplaod into a database software?
    – Bool
    Nov 1, 2022 at 2:47
  • I have a database software, and was wondering if I can do a mass upload of a csv file into it.
    – Bool
    Nov 1, 2022 at 3:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.