473,387 Members | 1,573 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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
Dec 18 '06 #1
6 17213
ronverdonk
4,258 Expert 4TB
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:
Dec 18 '06 #2
AricC
1,892 Expert 1GB
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.
Dec 22 '06 #3
ronverdonk
4,258 Expert 4TB
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:
Dec 22 '06 #4
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
Feb 18 '08 #5
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.
Feb 18 '08 #6
debasisdas
8,127 Expert 4TB
how to store video file in mysql database
Convert the file into binary stream and store in LOB fields.
Feb 18 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: cover | last post by:
The question is, we have two options to store images, either in a Database (MySQL, Postgres, ...) like blob data, or in the hard disk the file and the path in database. Which option is better?...
12
by: jacob nikom | last post by:
Hi, I would like to store XML files in MySQL. What is the best solution: 1. Convert it to string and store it as CLOB/text 2. Serialize it and store as byte array 3. Flatten it out and create...
5
by: lawrence k | last post by:
I'm a little weak on my basic I/O. Help me out please. Is it right to say that I can just open any file with file(), get it as a string, and then store in a MySql database, in, say, a MediumText...
7
by: mukeshpatil | last post by:
How to get data from .CSV file using php & store it into Mysql database I want to read data from two different .CSV files using php & How to store it into Mysql Database tables Please help me...
5
Nert
by: Nert | last post by:
hi, I've created a website, uhhmmn something like posting/uploading images and videos.., i made my site working well, i save images on database but the videos are just copied from the client...
3
by: Jim Ford | last post by:
This is more strictly an HTML problem, but as I'm also using PHP and the HTML groups seem to be infested with spam, I'm posting it here! At the school where I work I've got an online searchable...
2
by: vinayaknkadam | last post by:
plz send me code to store video in mysql using php..
7
by: andyehi | last post by:
Hi Everyone, I am having a txt file config.txt on application start up path.I need to read that file line by line using a delimiter ; or , and store the values in a variable to connect to the...
2
by: gm000 | last post by:
hi i m using radiobuttonlist with images like this <asp:RadioButtonList ID="rbtnthumb1" runat="server"> <asp:ListItem Value ="News_icon.jpg"> <img...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.