Forum Moderators: coopster
I have tried this as both "LOAD DATA INFILE", and "LOAD DATA LOCAL INFILE...". This is starting to drive me crazy! :p
Using the full programs on my computer is getting complicated. Since I am new to all this - it is like trying to walk in a minefield blindfolded. :)
I hope someday to get this PHP thing down pat, but it has a steep learning curve for me.
mysql -u userid -p databasename < spreadsheet.sql
spreadsheet.sqlDROP TABLE IF EXISTS testtable;
CREATE TABLE testtable (column1 CHAR(50));
LOAD DATA LOCAL INFILE '/path/spreadsheet.txt' INTO TABLE testtable;
spreadsheet.txtRow1
Row2
Row3