Hi there
I have been running my LOAD DATA scripts successfully in advanced Installer using LOAD DATA INFILE command.
I recently tried using LOAD DATA LOCAL INFILE because we will need to be able to run data files not on the server. The script fails when run.
I have run the LOCAL version of the script successfully in MYSQL Workbench, so I know the script will run on the server via a client. I don't understand why it will not work in Advanced Installer.
Works:
LOAD DATA INFILE 'C:/my_path/my_file.txt' INTO TABLE fdb_my_table CHARACTER SET LATIN1 FIELDS TERMINATED BY '|' LINES TERMINATED BY '\r\n'
Fails:
LOAD DATA LOCAL INFILE 'C:/my_path/my_file.txt' INTO TABLE fdb_my_table CHARACTER SET LATIN1 FIELDS TERMINATED BY '|' LINES TERMINATED BY '\r\n'
NOTE : My setup right now is that the server and files are on the same computer, but we need to allow for the possibility of the server being elsewhere while the files are local - this is why I need to use the LOCAL keyword.
thanks
Bryan
FOLLOW US
Get the latest news in Application Packaging