Dear Friends

I am working with MySQL database using Qt. I want to store a pdf file in the database. and show the contents of the pdf when user wants. How can I upload a pdf file in the database and open the file when needed from the database. Please give me some idea.

I know only two types INT and VARCHAR to store int and some string. But how can i upload the pdf file. Please help me if you know anyone. Thanks a lot. sujan