Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mysql data loading problem

Status
Not open for further replies.

maheshjadhav

Programmer
Mar 16, 2000
1
IN
Hi!<br>
<br>
We are workin with MySQL as a web server, on a linux platform, and are having some trouble. Any help would be very appreciated.<br>
<br>
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.<br>
LOAD DATA INFILE &quot;/home/users/chiranjeev/Catalog.txt&quot; INTO TABLE CATALOG FIELDS TERMINATED BY &quot;\t&quot; LINES TERMINATED BY &quot;\r\n&quot;<br>
<br>
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.<br>
This time round only one record is being inserted into the database.<br>
<br>
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.<br>
<br>
A sample of the data file is given below <br>
<br>
<br>
Catalog.txt<br>
------------------------------------------------------------------------------------------<br>
MAKE SCHEMATIC MODEL PART<br>
<br>
Autocar Front Suspension Assembly Standard OGB-PLK<br>
Autocar Front Suspension Assembly Standard M5190<br>
Autocar Front Suspension Assembly Standard G1803<br>
Chervolet Front Suspension Assembly &quot;Trucks, Buses 1990-1997&quot; M5414<br>
Chervolet Front Suspension Assembly &quot;Trucks, Buses 1990-1997&quot; MUBW184<br>
Chervolet Front Suspension Assembly &quot;Trucks, Buses 1990-1997&quot; MR626<br>
...<br>
<br>
6310 rows<br>
------------------------------------------------------------------------------------------<br>
<br>
<br>
Any help will be much appreciated.<br>
<br>
Thanks in Advance<br>
<br>
Mahesh.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top