×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

mysql data loading problem

mysql data loading problem

mysql data loading problem

(OP)
Hi!

We are workin with MySQL as a web server, on a linux platform, and are having some trouble. Any help would be very appreciated.

Our data files are in Excel, and we have converted them to tab delimited text files, which we then inserted into our MySQL database, with the following commands.
LOAD DATA INFILE "/home/users/chiranjeev/Catalog.txt" INTO TABLE CATALOG FIELDS TERMINATED BY "\t" LINES TERMINATED BY "\r\n"

It worked fine the first time. Since then, our data has changed substantially, so we just made the changes in the Excel file, and converted it to tab delimited text, and tried to re-insert into the database.
This time round only one record is being inserted into the database.

We have a MySQL server on NT at ground level, and we are able to insert this data in without any problem. We can not figure out what the problem is on the web, and why we can not insert it into our MySQL database there. We are repeating the identical procedures we used last time, and are at a loss to understand where the problem could be.

A sample of the data file is given below


Catalog.txt
------------------------------------------------------------------------------------------
MAKE SCHEMATIC MODEL PART

Autocar Front Suspension Assembly Standard OGB-PLK
Autocar Front Suspension Assembly Standard M5190
Autocar Front Suspension Assembly Standard G1803
Chervolet Front Suspension Assembly "Trucks, Buses 1990-1997" M5414
Chervolet Front Suspension Assembly "Trucks, Buses 1990-1997" MUBW184
Chervolet Front Suspension Assembly "Trucks, Buses 1990-1997" MR626
...

6310 rows
------------------------------------------------------------------------------------------


Any help will be much appreciated.

Thanks in Advance

Mahesh.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close