364,088 Members | 5483 Browsing Online
Community for Developers & IT Professionals
Bytes IT Community

Common prob with mysql LOAD DATA LOCAL INFILE ...

Pieter Van Waeyenberge
P: n/a
Pieter Van Waeyenberge
Hello

i have most recent php & mysql versions running on a linuxmachine

i want to use LOAD DATA LOCAL INFILE and pass it from php to mysql.

- the file i load is given with full path and the directory is readble
- On MySQL local-infile = ON
- From PHP i connect using client flag (128) to allow passing a file over
that connection: mysq_connect( $host, $usr, $pwd, false, 128)

Ive followed all advice from php & mysql sites and deja.com ...

But i still get the message: The command is not allowed with this MySql
Version or something ...

any ideas where i should look further?

what are *all* the requirements for a LOAD DATA LOCAL INFILE to work
seamingly?

Thnx
Pieter.


Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Help answer this question



Didn't find the answer to your PHP question?

You can also browse similar questions: PHP