MySQL Forums
Forum List  »  Newbie

Re: LOADING A PDF FILE INTO A FIELD OF A TABLE AS A BLOB
Posted by: Peter Brawley
Date: November 30, 2021 10:20AM

No functionality I know of in MySQL reads pdfs, so the more efficient approach is to save in the table the path to the document, move the document to that location, and in your app write a function that retrieves urls including pdfs---unless the app runs in a web browser and the database is on a web server, in which case the browser will open the pdf if its path is a valid url.

Options: ReplyQuote


Subject
Written By
Posted
Re: LOADING A PDF FILE INTO A FIELD OF A TABLE AS A BLOB
November 30, 2021 10:20AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.