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 > Storing media in MySql

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-16-03, 23:38
clearz clearz is offline
Registered User
 
Join Date: Nov 2003
Posts: 1
Storing media in MySql

Hi

I am creating a online record store website at the moment using MySql and PHP. I have also developed a custom application for managing the database. In the application the user types in the usual data (price, stock artist etc) and can choose a picture for the album cover. The user can also record multiple track samples that are compressed into WMA format. My question is. Should the media (picture, WMA's) be stored as blobs in the database or should I implement a FTP client in the application to upload the media separately and store the names in the database. What are the advantages and disadvantages of storing media in a database? Any advice would be appreciated.

Thanks
John Cleary.
Reply With Quote
  #2 (permalink)  
Old 11-17-03, 04:20
khibinite khibinite is offline
Registered User
 
Join Date: Oct 2003
Posts: 63
Hi!

IMHO the second way you described will be more preffered and faster(to store only path of media file on the server).
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