MySQL Forums
Forum List  »  Perl

migration
Posted by: Carlos HEnriquez
Date: January 14, 2011 12:50PM

Hi to everyone,
I need to store a file that is in my PC (.jpg or .pdf) into a single record of a table which has a blob field, in a database located in a distant server. Load_file() works ok as long as I work as localhost. Load Data Infile works but inserts hundreds of records. I need it in a single record. In other words, how do I save a picture taken in my office into a blob?

Options: ReplyQuote


Subject
Written By
Posted
migration
January 14, 2011 12:50PM
January 18, 2011 10:33AM
January 18, 2011 01:05PM
January 18, 2011 01:33PM


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.