Im having trouble importing the text file from my desktop into the database,i tried it both ways but it doesn't seem to work, does the file have to be somewhere specifically for it to import. please help
load data local infile 'userdata_import.txt' into table tags fields terminated by ',' lines terminated by '\n';
load data local infile 'C:\Users\duy\Desktop\userdata_import.csv' into table tags
-> fields terminated by ',' lines terminated by '\n';