It looks like you simply have a problem in your input text file.
Notice this part of the error message:
# Tabellenstruktur f�r Tabelle `contacts` # C
That is actually parts of *FOUR* lines of your text all jammed together.
It looks like you file is missing end-of-line characters on some lines.
When I copied your text into MySQL directly, it worked fine *EXCEPT* that
is bogus. That should be