the funny is if I use PHPMYADMIN located at server host, the path to the TXT file, let´s say 'c:/mytxtfile' is automatically altered to something like '/tmp/somefunnyname'
so i decided to look into PHPMYADMIN FAQ and look what I found:
I try to insert a text file in a table, and I get:
Error MySQL said: The file '/tmp/phpkvpp60' must be in the database directory or be readable by all
Your uploaded file is saved by PHP in the "upload dir", as defined in php.ini by the variable upload_tmp_dir (usually the system default is /tmp). If this directory is not readable by all, the MySQL server (which must be running on the same machine) cannot open the file (except if running as root, which is not recommended).
The system administrator can do a "chmod 777 /tmp": then the MySQL server will accept to read it. Also, the user must have File privilege.
After reading it I may be confusing the term LOCAL. Is local suppose to refer my PC or some directory at server host?