Is this even possible?
Requirements: (due to Policies, Regulations, and of course internal politics)
1) .php page on intranet server “Aweb” provides a button for user to click to truncate a table in a mysql DB and re-populate with updated .txt file
2) .txt file resides on server “Bfile”, and the DB is located on server “Cmysql”.
BTW
Servers Aweb & Bfile are windows
Server Cmysql is unix
$import = ‘LOAD DATA INFILE “file://NetworkServer/divsion/webuse/fordb/T20_Export.txt” INTO TABLE
Result is:
Can’t get stat of’/var/lib/mysql/file:/NetworkServer/divsion/webuse/fordb/T20_Export.txt’ (Errcode:2)
Is it possible to get the db to look outside of its own server? :o