Hallo,
ich plage mich jetzt seit ca. 1 Stunde mit einem Import in eine bestehende Datenbank.
Ich habe die Felder bereits angelegt und sie funktionieren auch.
jetzt möchte ich importieren, die Strutkur sieht so aus:
Id |Name |Address |Zip |CityZone |City |Province |Region |Country |Type....
Der Befehl lautet bei mir:
LOAD DATA LOCAL INFILE 'C:/Dokumente und Einstellungen/Innuendo/Desktop/myfile.txt'
INTO TABLE MYTABLE
FIELDS TERMINATED BY '|'
OPTIONALLY ENCLOSED BY ''
ESCAPED BY ''
LINES TERMINATED BY '\n'
Der Error lautet:
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 '\n'' at line 1
Wer kann mir hier einen Tipp geben, worans liegen könnte.
lg,
Innuendo