RE: [PHP] Importing Access into MySQL
| From: | Jeff Gannaway | Date: | Thu, 07 Dec 2000 20:48:08 +0000 |
| Subject: | RE: [PHP] Importing Access into MySQL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-29269@lists.php.net to get a copy of this message | ||
>Anyone know where I can get info or tell me how to import an access database
>into a MySQL db?
>
>David Smith
I export the Access info into a tab-delimted text file with NO Text
Qualifier. I upload the text file to the web server. I Telnet to the web
server, go into MySQL and use the MySQL command:
LOAD DATA INFILE 'dfilename' REPLACE INTO TABLE tablename;
Optionally, you can use IGNORE instead of REPLACE if you do NOT want
duplicate records replaced by new ones in the text file.
Good luck,
Jeff Gannaway
_______________________________________________________
2001 Wall Calendars....
* Art, Jazz, Blues, Women's, African-American.
* Everyday Discounts.
* Excellent paper and reproductions.
And as always, a great selection of abstract,
contemporary and African-American art prints.
PopStreet.com is your avenue to art.
http://www.popstreet.com
_______________________________________________________