|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
I am trying to execute the LOAD Infile command and I keep getting an error here is the exact code I am entering. I have already done a chmode on the txt file and it is located in the www directory on isp. I have also created the txt file in a tab delimited format with returns to end rows.
mysql> LOAD DATA LOCAL INFILE 'home/vikingcomputrs/www/parts.txt' -> INTO TABLE parts -> FIELDS -> TERMINATED BY 't' -> LINES TERMINATED BY 'r'; ERROR: File 'home/vikingcomputrs/www/parts.txt' not found (Errcode: 2) ------------------ -rb |
|
#2
|
|||
|
|||
|
path is wrong
try mysql->LOAD DATA LOCAL INFILE '/home/vikingcomputrs/www/parts.txt' -> INTO TABLE parts -> FIELDS -> TERMINATED BY 't' -> LINES TERMINATED BY 'r'; |
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > Getting errorcode 2 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|