List:General Discussion« Previous MessageNext Message »
From:Chris Date:April 12 2007 1:07am
Subject:Re: import fails: error 13
View as plain text  
> mysql> LOAD DATA INFILE '/home/thufir/abc.txt' INTO TABLE;
> ERROR 13 (HY000): Can't get stat of '/home/thufir/abc.txt' (Errcode: 13)

'13' means permission denied.

That is - mysql (which is running as user 'mysql' most likely), can't 
read the /path/to/abc.txt file.

Place the file in the /tmp folder or something and you won't have a problem.

import fails: error 13Thufir12 Apr
  • Re: import fails: error 13Mogens Melander12 Apr
  • Re: import fails: error 13Chris12 Apr