
February 4th, 2012, 10:00 PM
|
 |
manwich
|
|
Join Date: Oct 2003
Location: Canadanistan
|
|
Give it the full file path, make sure whatever user you're running mySQL with has permissions to the file, and permissions to traverse into the directory where the file is located.
Also make sure your server is configured to accept the file:
Quote: | When using LOCAL with LOAD DATA, a copy of the file is created in the server's temporary directory. This is not the directory determined by the value of tmpdir or slave_load_tmpdir, but rather the operating system's temporary directory, and is not configurable in the MySQL Server. (Typically the system temporary directory is /tmp on Linux systems and C:\WINDOWS\TEMP on Windows.) Lack of sufficient space for the copy in this directory can cause the LOAD DATA LOCAL statement to fail. |
__________________
|