Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Upload problem with phpmyadmin
- Claire DURAND
August 12, 2005, 7:53 am
rate this thread
My mysql base was migrated from a version 3 under Windows to a version 4
under Linux and the base was placed on a new server different from the
web server (this one with phpmyadmin).
When I trie to upload a csv file with phpmyadmin, I obtain the following
SQL request :
LOAD DATA INFILE 'C:\WINNT\TEMP\php8D.tmp' REPLACE INTO TABLE
FIELDS TERMINATED BY ';'
ENCLOSED BY '"'
ESCAPED BY '\'
LINES TERMINATED BY '\r\n'
MySQL responds :
Can't get stat of 'C:\WINNT\TEMP\php8D.tmp' (Errcode: 2)
Is there a problem of path ? (The path must not be /tmp instead of
I tried to modifie in the php.ini the variable UploadDir to "/tmp/", but
it doesn't run too...
Has somebody encoutered the case of parameter setting of phpmyadmin
under windows, on a different server from the mysql base which is under
Sorry for my English.
Thanks for your help.
- » MCA Fresher 2005 passout with 6 months experience on PHP
- — Previous thread in » PHP Scripting Forum