Hello
i *had* it working ... i have everything in place as all documentation and
fora stated.. but yet i AGAIN get the error:
"The used command is not allowed with this MySQL version" in
/home/foo/public_html/goo/import.load.items.php on line..
LOAD DATA LOW_PRIORITY LOCAL INFILE
'/home/foo/public_html/goo/import/file.txt' REPLACE INTO TABLE discipline
FIELDS TERMINATED BY '{_^^)' LINES TERMINATED BY '\r\n' (col1,col2)
The context:
- PHP Version 4.3.8
- MySql: version - 4.0.17
- FreeBSD 4.9-RELEASE-p4 FreeBSD 4.9-RELEASE-p4 #1: Sun i386
- MySql has LOCAL_INFILE = On
- I connect to mysql using CLIENT_LOCAL_FLAGS: mysql_connect($host, $usr,
$pwd, false, 128);
- the open base dir is set to '/home/foo/'
- the directory 'import' where i get the file from has max permissions
- what i do in the app is: move the HTTP uploaded file to
'/goo/import/file.txt' ... (which is NOT the upload_tmp_dir) .. and then
later in another script i use the above sql statement
Am i missing something? help would be appreciated ..
thnx in advance ..
Pieter Van Waeyenberge