List:General Discussion« Previous MessageNext Message »
From:thufir Date:June 24 2014 5:08am
Subject:Re: error 29, file not found (errcode: 13)
View as plain text  
On Mon, 23 Jun 2014 10:59:48 -0400, Scott Helms wrote:

> I generally drop them into /tmp for easy access and cleanup after the
> data load, but you can put them any place that the mysql daemon process
> has access to read.


Huh, maybe the daemon doesn't have access to /tmp?...

thufir@dur:/tmp$ 
thufir@dur:/tmp$ ll /tmp/make_year_model.csv 
-rw-rw-r-- 1 thufir thufir 83 Jun 23 22:04 /tmp/make_year_model.csv
thufir@dur:/tmp$ 
thufir@dur:/tmp$ nl /tmp/make_year_model.csv 
       
     1	make1,model1,2012,123,red
     2	make2,model2,2013,456,blue
     3	make3,model3,2001,789,green
       
thufir@dur:/tmp$ 
thufir@dur:/tmp$ mysql -u root -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 55
Server version: 5.5.37-0ubuntu0.14.04.1 (Ubuntu)

Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights 
reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input 
statement.

mysql> 
mysql> LOAD DATA  INFILE '/tmp/make_year_model.csv' INTO TABLE 
vehicles.vehicles FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n';
ERROR 29 (HY000): File '/tmp/make_year_model.csv' not found (Errcode: 13)
mysql> 
mysql> quit
Bye
thufir@dur:/tmp$ 

Thread
error 29, file not found (errcode: 13)thufir23 Jun 2014
  • Re: error 29, file not found (errcode: 13)Scott Helms23 Jun 2014
    • Re: error 29, file not found (errcode: 13)Carsten Pedersen23 Jun 2014
  • Re: error 29, file not found (errcode: 13)Michael Dykman23 Jun 2014
  • Re: error 29, file not found (errcode: 13)Divesh Kamra23 Jun 2014
  • Re: error 29, file not found (errcode: 13)thufir24 Jun 2014
    • Re: error 29, file not found (errcode: 13)Reindl Harald24 Jun 2014
  • Re: error 29, file not found (errcode: 13)thufir24 Jun 2014
  • Re: error 29, file not found (errcode: 13)thufir26 Jun 2014