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 > Images in Database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-20-08, 02:39
THE DON THE DON is offline
Registered User
 
Join Date: May 2007
Posts: 8
Images in Database

Can we store images in database??

If so, how it can be done? ANy special commands? I am not that pro in MYSQL so please reply with appropriate terms
Reply With Quote
  #2 (permalink)  
Old 11-20-08, 05:03
healdem healdem is online now
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,262
although there is is some debate about the best practise on this (should you store the image in your db or a path to the image in the db), I think the consensus is that you are better off storing the path, rather than the image itself.

there are plenty of threads on this site, and elsewhere, which justify either choice, which are not worth repeating (yet) again here
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #3 (permalink)  
Old 11-20-08, 07:07
mike_bike_kite mike_bike_kite is offline
vaguely human
 
Join Date: Jun 2007
Location: London
Posts: 2,519
Here's a link to one such discussion
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