ERROR 13 (Errcode: 2) When Doing Load Data Infile (Doc ID 1507732.1)

Last updated on JANUARY 05, 2017

Applies to:

MySQL Server - Version 5.0 and later
Information in this document applies to any platform.

Symptoms

Data import through load data infile failing with the below error:

ERROR 13 (HY000) at line 1: Can't get stat of '/home/admin/101229/input/db_test.txt file' (Errcode: 2)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms