List:General Discussion« Previous MessageNext Message »
From:Christopher R. Jones Date:November 5 1999 12:03am
Subject:Re: Importing a file from FileMaker
View as plain text  
If you have the original FileMaker table, you can export as tab deliminated
file.  We transfer FileMaker tables to our MySQL WEB application regularily
and there have been no problems using tab deliminated files.

>Greetins all,
>I understand MySQL has been tested with FileMaker.  However,
>I am still having some problems getting MySQL to properly 
>recognize the EOL character.  The file exported from FileMaker
>is comma-delimited, enclosed by '"' characters, and has that
>filthy '^M' at the end of every line.  
>Here's the command I've been using...
> mysqlimport -# -d --lines-terminated-by "\\n" --fields-terminated-by=, 
>--fields-enclosed-by "\"" -u cstorm -p -h ns mtcodb temp_tech.csv       
>The file contains 3700 records, but only 1850 show up... exactly half.
>What seems to be happening is MySQL reads past the EOL, and then after
>finising reading the next line, THEN it advances to the next record.
>The last field of the resultant entry in MySQL includes the first few
>characters of what should be in the next record.
>I've tried --lines-terminated-by "\^M" also, but this doesn't seem
>to work either.
>I have RTFM, and all the FAQs and mailing lists archives, but it
>seems impossible to use ListQuest's search engine to find entries
>on the mischevious '^M' character.
>Does anyone have any suggestions?
>Thanks in advance,
>Chad A. Storm
>System Administrator
>MTCO Communications
>Please check "" before
>posting. To request this thread, e-mail mysql-thread17815@stripped
>To unsubscribe, send a message to the address shown in the
>List-Unsubscribe header of this message. If you cannot see it,
>e-mail mysql-unsubscribe@stripped instead.
Christopher R. Jones, P.Eng.
14 Oneida Avenue
Toronto, Ontario M5J 2E3
Tel. 416 203-7465
Fax. 416 203-3044
Email cj@stripped

Importing a file from FileMakermysql5 Nov
  • Re: Importing a file from FileMakerBill Gerrard5 Nov
  • Re: Importing a file from FileMakerJeremy A Horland5 Nov
    • Re: Importing a file from FileMakerJay J5 Nov
Re: Importing a file from FileMakerChristopher R. Jones5 Nov