9 messages in com.mysql.lists.javaRE: LOAD DATA under jdbc| From | Sent On | Attachments |
|---|---|---|
| alec...@quantel.com | 17 Aug 2001 08:04 | |
| Kaarle Kaila | 17 Aug 2001 09:36 | |
| Venu | 17 Aug 2001 10:16 | |
| Mark Matthews | 17 Aug 2001 13:25 | |
| Mark Matthews | 17 Aug 2001 15:53 | |
| Venu | 17 Aug 2001 16:14 | |
| Sinisa Milivojevic | 18 Aug 2001 04:48 | |
| Michael Widenius | 18 Aug 2001 04:51 | |
| Michael Widenius | 18 Aug 2001 05:01 |
| Subject: | RE: LOAD DATA under jdbc![]() |
|---|---|
| From: | Sinisa Milivojevic (sin...@mysql.com) |
| Date: | 08/18/2001 04:48:27 AM |
| List: | com.mysql.lists.java |
Venu writes:
Hi !
)-----Original Message----- )From: Mark Matthews [mailto:mmat...@thematthews.org] )Sent: Friday, August 17, 2001 3:54 PM )To: ve...@mysql.com )Cc: Monty; ja...@lists.mysql.com )Subject: Re: LOAD DATA under jdbc ) ) )Sorry, I'm a little bit confused as to how the server can read files on the )client, as the JDBC driver doesn't do any of this...Is the server actually )ignoring the "local" part of the command?
I did again a simple research on this with my laptop and desktop. Here is the observations:
I have the file "loaddata.txt" on the desktop in folder f:\myodbc\loaddata.txt, and I execute the JDBC sample from this desk top itself.
-- When I connect to the server running locally i.e. on the desktop itself, then the LOAD DATA local INFILE works by inserting the data from the file to the specified table.
-- When I connect to the remote server which is running on my laptop, and when I execute the sample, I get the error saying " file not found". Probably the server couldn't find the file on the server side m/c, as it doen't exists.
I think this is as expected only. But, am waiting for some one to comment on this, who know the exact behaviour?
Regards Venu
Regardless of the fact whether a file is on the server or client (when LOCAL clause has to be used) a full path to the file has to be provided.
No path resolution problems will then occur.
-- Regards, __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <sin...@mysql.com> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer /_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus <___/ www.mysql.com




