Forum
Anyone know MySQL?
Created 19th October 2011 @ 09:51
Add A Reply Pages: 1
LOAD DATA INFILE ‘C:xamppolle.txt’ INTO TABLE `djur`
error: #29 – File ‘C:xamppmysqldataxamppolle.txt’ not found (Errcode: 2)
HALP!
Try LOAD DATA LOCAL INFILE
Without that, I believe, the file needs to be relative to your mysql folder (or data folder?). Not sure.
Last edited by Spike Himself,
Quoted from Schis
LOAD DATA INFILE ‘C:xamppolle.txt’ INTO TABLE `djur`
error: #29 – File ‘C:xamppmysqldataxamppolle.txt’ not found (Errcode: 2)
HALP!
you sure direction is right?
Quoted from Schis
LOAD DATA INFILE ‘C:xamppolle.txt’ INTO TABLE `djur`
error: #29 – File ‘C:xamppmysqldataxamppolle.txt’ not found (Errcode: 2)
HALP!
Not sure if i’m missing something here, but where are the slashes in the path?
If you’re using backslashes you need to double them up, or just use forward slashes.
By the way, “local” specifies that it should be read from the client, rather than the server.
Last edited by Miek,
Quoted from Miek
[…]
Not sure if i’m missing something here, but where are the slashes in the path?
If you’re using backslashes you need to double them up, or just use forward slashes.By the way, “local” specifies that it should be read from the client, rather than the server.
Known bug in forum – just use \2 slashes :D\
Use “LOAD INFILE” and mysql_real_escape_string($filepath)
Last edited by atmo,
Quoted from Miek
[…]
If you’re using backslashes you need to double them up, or just use forward slashes.
This, for windows.
Last edited by ups,
Add A Reply Pages: 1