homepage Welcome to WebmasterWorld Guest from 54.167.11.16
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
importing with phpmyadmin
tiki16




msg:3193685
 8:05 pm on Dec 19, 2006 (gmt 0)

Hello all,
I am trying to import a .csv file (converted from excel) into a database with phpmyadmin. My error is #1064 at line 1.
I looked up the error and this is what it is:
Error: 1064 SQLSTATE: 42000 (ER_PARSE_ERROR)

Anybody know what this means?
Any help appreciated.
Steve

 

eelixduppy




msg:3193761
 9:11 pm on Dec 19, 2006 (gmt 0)

Not sure exactly what is causing your problem here. A search [google.com] may bring up more clues.

It could also be due to the version of mysql being used; not quited sure on this one, though.

..and Welcome to WebmasterWorld!

the_nerd




msg:3193813
 9:49 pm on Dec 19, 2006 (gmt 0)

What does the first line of your file look like?

mcibor




msg:3194430
 10:56 am on Dec 20, 2006 (gmt 0)

Try to export any data with phpMyAdmin and then compare the both CSVs - you may spot the problem on your own

Merry Xmas and Welcome to WebmasterWorld!

Michal

henry0




msg:3194479
 12:36 pm on Dec 20, 2006 (gmt 0)

Seems like there is a latent problem with that function
To be honest I tried it a few times and always ended with an error (CSV or XL).
I bought for just very few $ a nice little tool that does very well the job.

tiki16




msg:3194826
 5:56 pm on Dec 20, 2006 (gmt 0)

Hi Henry0, what was the name of the program? I saw one but can't remeber the name.
Thanx
Steve

tiki16




msg:3194876
 6:37 pm on Dec 20, 2006 (gmt 0)

I exported a table and tried to import it back into the table and i get an error:Invalid field count in CSV input on line 1.
I used the output data to recreate the data i want to impoirt into my DB and i get the same error. I exportred the csv wth the field names included and excluded and both times get the same error stated above.
thanx
Steve

henry0




msg:3195109
 9:24 pm on Dec 20, 2006 (gmt 0)

Tiki,
Check you mail

I will not post a ccial link here

Henry

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved