[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Retrieve pdf (Stored as path) from mysql table

Posted on 2011-02-28
1
Medium Priority
?
785 Views
Last Modified: 2012-05-11
We have a application in vb.net like client/server using a mysql connector.

How can I retrieve from  remote client, a pdf file that are stored in a table (The informatio stored is the path to the file in the server, I don't want to use blob fileld becuase is a huge table). The only connection that exist between client and MySQL server is the MySQL connection using 3306 port

Regards

0
Comment
Question by:lnrivera
1 Comment
 
LVL 18

Accepted Solution

by:
lludden earned 2000 total points
ID: 34997696
Given those restrictions, I would create a temp table with a BLOB field, load the file into that field, return that table in the query, then delete the temp table.  Do this all in the SP that you call to request the data.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question