Current location: Hot Scripts Forums » Programming Languages » PHP » Cannot import into MySQL


Cannot import into MySQL

Reply
  #1 (permalink)  
Old 09-26-03, 08:43 PM
xgab xgab is offline
Newbie Coder
 
Join Date: Jun 2003
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs down Cannot import into MySQL

Hi!
This is my first experience importing comma, pipe or tabs delimited plain files into a MySQL Database.

I tried using more than one tool and none of them worked...

The thing is that one of the plain files has 250,000 records.

- I tried with a nice freeware script called CSV Importer. It enabled me to import succesfully one plain file of 6,000 records, but the second one has 24,000 and it uploaded only 8,000 (so the largest one will be imposible). Does anyone ever used CSV Importer ? (downloaded from hotscripts.com)

- Then I tried with the latest PHPMyAdmin system. It is very clear how to export information, but I could not figured out how to import!. There is an import link at the little SQL window that asks me for a txt file, but it is not clear how to format and process it.

- I also tried with a Windows freeware to create the .sql file from Access. It created a huge file with many INSERTs. How should I process that big file, thru the little PHPmyAdmin SQL window ???

- Finally I tried with LOAD FROM and mysqlimport, but... unfortunately I get many errors and warnings and the help information at the mysql site is not enough for me... I a newbie :-(

Which is the best option or technique to import large amounts of records ?

The server I use is Linux Mandrake with PHP 4.3.3, the latest MySQL and also my PC is Windows XP.

I will apreciate you help. Than you!
Reply With Quote
  #2 (permalink)  
Old 09-27-03, 06:02 PM
Mud Mud is offline
Newbie Coder
 
Join Date: Sep 2003
Location: Southern California
Posts: 94
Thanks: 0
Thanked 0 Times in 0 Posts
I dont know but I have to say when i try to use phpmyadmin it is a ***** and i HATE IT. I hope you can solve the problem. I feel your pain. Maybe ypu can somehow insert it manually?
__________________
http://websoftblog.com/ - Web Software Blog
http://www.seekpire.com/ Make money searching!
http://www.gamingwise.com/ flash games!
Reply With Quote
Reply

Bookmarks


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

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 On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP and MySQL ? rob2132 Hot Scripts Forum Questions, Suggestions and Feedback 4 08-29-08 02:22 AM
Forum/Board - MySQL = Possible? cipher PHP 7 10-07-03 03:42 AM
great product for dumping/recovering MySQL databases Dave Brown General Advertisements 1 10-03-03 07:40 AM
mysql v2UK ASP 2 08-18-03 08:50 PM
MySQL with PHP question. HELP for a newbie kenfused PHP 3 08-02-03 12:53 AM


All times are GMT -5. The time now is 06:21 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.