If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Insert image files to mysql 4

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-29-03, 18:33
CyberFox CyberFox is offline
Registered User
 
Join Date: Nov 2003
Location: Germany
Posts: 1
Red face Insert image files to mysql 4

Hi @all!

I want to store picture files in a mysql 4 database.

I've heard it has to be saved as a BLOB. But how do I insert a file, with a sql script or a with a vb programm? Do I have to read out the file in binary mode and save the string in the database as a blob?

I would be happy if anybody could help me!!


Thanx & Greez to all!
Reply With Quote
  #2 (permalink)  
Old 11-30-03, 09:53
ika ika is offline
Registered User
 
Join Date: Oct 2003
Location: Slovakia
Posts: 482
Re: Insert image files to mysql 4

Quote:
Originally posted by CyberFox
Hi @all!

I want to store picture files in a mysql 4 database.

I've heard it has to be saved as a BLOB. But how do I insert a file, with a sql script or a with a vb programm? Do I have to read out the file in binary mode and save the string in the database as a blob?

I would be happy if anybody could help me!!


Thanx & Greez to all!
http://www.dbforums.com/archives/t285836.html
http://www.vbmysql.com/forums/index....hread&frm_id=1
http://dev.nexen.net/docs/mysql/anno...bc-clients.php
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On