Update MySQL table using data from a text file through Java
- by Karthi Karthi
I have a text file with four lines, each line contains comma separated values like below file
My file is:
Raj,raj34@myown.com,123455
kumar,kumar@myown.com,23453
shilpa,shilpa@myown.com,765468
suraj,suraj@myown.com,876567
and I have a MySQL table which contains four fields
firstname lastname email phno
…