Dear all;
I am up to my hairs. I am new to mysql. I installed mysql 4.0.18 on my windows xp machine. I am trying to import a DB from flat files. I have created the database and tables. Then I try to use the mysqlimport to do the task. I get errors.
Here is two versions of syntax I used:
mysqlimport -u user -p database 'F:\\path\\*.dat' --fields-terminated-by="|";
anther version:
mysqlimport -u user -p database "F:/path/*.dat" --fields-terminated-by="|" --local --verbose --replace;
For either version, I get the following error:
Error 1064: You have an error in your SQL syntax. check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysqlimport -u user -p database 'F:\\path\\*.dat'
I could not figure out why.
thanks in advance for any help
Jo
I am up to my hairs. I am new to mysql. I installed mysql 4.0.18 on my windows xp machine. I am trying to import a DB from flat files. I have created the database and tables. Then I try to use the mysqlimport to do the task. I get errors.
Here is two versions of syntax I used:
mysqlimport -u user -p database 'F:\\path\\*.dat' --fields-terminated-by="|";
anther version:
mysqlimport -u user -p database "F:/path/*.dat" --fields-terminated-by="|" --local --verbose --replace;
For either version, I get the following error:
Error 1064: You have an error in your SQL syntax. check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysqlimport -u user -p database 'F:\\path\\*.dat'
I could not figure out why.
thanks in advance for any help
Jo