MySQL Forums
Forum List  »  InnoDB

LOAD DATA INFILE problem with drive letter mapping
Posted by: David Armour
Date: October 09, 2008 01:33AM

Hi!

I have a strange problem with a new server we have just installed. It is running Windows Server 2003.

When I type the following query:

LOAD DATA INFILE 'S:/TEMP/mydata.dat' REPLACE INTO TABLE MYDB.MYTABLE

I get a file not found error.

S: is mapped to a shared folder on the server itself. The SQL is written by the users who refer to this share by the mapped drive letter.

The map is S: = \\SERVER.GB.COM\COMMON and is present and working on the server itself.

When I type this:

LOAD DATA INFILE \\\\SERVER.GB.COM\\COMMON\\TEMP\\mydata.dat REPLACE INTO TABLE MYDB.MYTABLE

it works perfectly.

Can anyone explain why the map 'S:' would not work here?


Regards.

Options: ReplyQuote


Subject
Views
Written By
Posted
LOAD DATA INFILE problem with drive letter mapping
3679
October 09, 2008 01:33AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.