x
ETF2L is looking for new Staff to recruit! Are you interested in supporting the league? Then click here for more details on what we can offer and how to apply! 

Forum

Anyone know MySQL?

Created 19th October 2011 @ 09:51

Add A Reply Pages: 1

Schis

ShaBox
skeå

LOAD DATA INFILE ‘C:xamppolle.txt’ INTO TABLE `djur`

error: #29 – File ‘C:xamppmysqldataxamppolle.txt’ not found (Errcode: 2)

HALP!

Spike Himself

TC

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,

dauk

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?

Miek

prfsnlgmr

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,

Spike Himself

TC

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\

atmo

Use “LOAD INFILE” and mysql_real_escape_string($filepath)


Last edited by atmo,

Le meme arrows

MySQL? http://s3.amazonaws.com/kym-assets/photos/images/original/000/184/961/tumblr_lnvvueuSsj1qcj56b.png?1318992465

ups

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