Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old September 1st, 2008, 08:39 AM
Familiar Sight
 
Join Date: Apr 2007
Location: Lebanon
Age: 26
Posts: 189
Default converting access to mysql

Hello

I am trying converting a query in MSACCESS 2007 into *.csv File to upload them on the web server MYSQL database using PHPMYADMIN

Actually I am a little bit confused because there are many types of *.csv file (common delimited, Macintosh, Dos )

Is *.csv file type is the best file format for MYSQL to be imported ?
Reply
  #2  
Old September 1st, 2008, 11:50 PM
Atli's Avatar
Moderator
 
Join Date: Nov 2006
Location: Iceland
Age: 22
Posts: 2,760
Default

Hi.

CSV files can easily be imported into MySQL using the LOAD DATA INFILE syntax.

The command is created to work with files created by the SELECT INTO OUTFILE syntax, but any file that matches the format of such a file can be used.

My suggestion would be to create a sample database and export it using the SELECT INTO OUTFILE syntax. Then you could see exactly how your data needs to be formatted to work with the LOAD DATA INFILE command.
Reply
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles