I tried to load a .txt file into a MySQL table (via LOCAL DATA), but the files that i'm using, some of them has a accent in their names that are not recognizable by MySQL. When I tried to execute the statement, I receive the following error:
File 'C:\Users...\á.txt' not found (Errcode: 2)
I can avoid this error if I remove all the accents from my .txt files, then the database can locate those files.
Here the statement that I had executed:
LOAD DATA LOCAL INFILE "C:\\Users\\User\\Desktop\\á.txt" INTO TABLE mytable COLUMNS TERMINATED BY ","LINES TERMINATED BY "\r\n"(column_a, column_b, column_c);