how to store video file in mysql database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nagaraj530
    New Member
    • Dec 2006
    • 1

    how to store video file in mysql database

    hi friends,
    i want to store a video file in mysql database, if u r having any
    related code, please give me reply, i am waiting for that
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    Show us the code you have developed up to now for your requirement. Then we will help you develop it further or in case you encounter any errors or problems.

    Ronald :cool:

    Comment

    • AricC
      Recognized Expert Top Contributor
      • Oct 2006
      • 1885

      #3
      A great solution I have heard to this is to store the addresses of the video files in a DB not the video files themselves.

      Comment

      • ronverdonk
        Recognized Expert Specialist
        • Jul 2006
        • 4259

        #4
        Personally I don't like storing images and videos in a database.
        I always have only the name of the file in the db and that is (performance-wise) a lot faster.

        Ronald :cool:

        Comment

        • vinayaknkadam
          New Member
          • Feb 2008
          • 2

          #5
          how to store video file in mysql database


          hi friends,
          i want to store a video file in mysql database, if u r having any
          related code, please give me reply, i am waiting for that
          plz if u hav any idea then rply

          Comment

          • CodeMaster123
            New Member
            • Feb 2008
            • 4

            #6
            Instead of storing videos in database you should store their URL in database and use them to access your video.
            I don't know which scripting language you use so I can't give you a perfect solution.

            Comment

            • debasisdas
              Recognized Expert Expert
              • Dec 2006
              • 8119

              #7
              Originally posted by vinayaknkadam
              how to store video file in mysql database
              Convert the file into binary stream and store in LOB fields.

              Comment

              Working...