At 3:35 AM +0300 5/23/01, Olexandr Vynnychenko wrote:
>Wednesday, May 23, 2001, 3:24:29 AM, you wrote:
>PD> At 3:22 AM +0300 5/23/01, Olexandr Vynnychenko wrote:
>>>Can anybody tell me what should I do? I use LONGTEXT column in my
>>>table to store data files (html, for example). But I see that I
>>>INSERT INTO table SET longtext_column=whole_file. But I must do it
>PD> The LOAD_FILE() function might help you if you have the files on the
>PD> server host and you have the FILE privilege.
>>> Olexandr Vynnychenko
>But if the file is local?
Then you're going to have to write a script and construct the
INSERT statement with the contents of the file properly encoded
in the query string.
> Olexandr mailto:supaboy@stripped
Paul DuBois, paul@stripped