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 > Saving pdf articles in MYSQL

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-30-04, 04:19
Motho Motho is offline
Registered User
 
Join Date: Mar 2004
Posts: 7
Saving pdf articles in MYSQL

Hi guys,

I have pdf documents that I want to store in MYSQL DB. I am not sure if MYSQL supports this and what data type I will be using for pfd files.

Can anyone help

Motho
Reply With Quote
  #2 (permalink)  
Old 08-30-04, 09:26
gvphubli gvphubli is offline
Registered User
 
Join Date: Sep 2003
Location: United States
Posts: 53
I'm not whether u can store the pdf files (or any other files), but its not a good idea (even in SQL and Oracle). Usually they just store a path of a file in database and locate that file based on the info in the database when ever needed.
__________________
Girish Patil
10+ Yrs of SQL Server Dev & Admin Exp.
ITIL Foundation Certified
Visit my blog : http://gvphubli.*************/
Reply With Quote
  #3 (permalink)  
Old 08-30-04, 11:44
snorp snorp is offline
Registered User
 
Join Date: Apr 2004
Location: Europe->Sweden->Stockholm
Posts: 71
Blob

If you want to store binary data you should probably use the BLOB data type. The manual is your friend, and will gladly tell you all about BLOBs.
Reply With Quote
  #4 (permalink)  
Old 08-31-04, 03:55
Motho Motho is offline
Registered User
 
Join Date: Mar 2004
Posts: 7
saving pdf files

Thanks guys. I think I will just referrence the file.

ta
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