Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2003
    Location
    Germany
    Posts
    1

    Red face Unanswered: 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!

  2. #2
    Join Date
    Oct 2003
    Location
    Slovakia
    Posts
    482

    Re: Insert image files to mysql 4

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •