Solved

export a blob field

Posted on 2010-11-08
3
479 Views
Last Modified: 2012-08-13
I am trying to export a table from a mysql database.  The table includes a blob field and why i export using sql or directly to ms access the blob field which contains a long description does not copy across.

Can anyone tell me how to do this?
0
Comment
Question by:Nemetona
  • 2
3 Comments
 
LVL 17

Accepted Solution

by:
Shinesh Premrajan earned 500 total points
ID: 34083424
mysqldump -uuser -ppass db dbname > exported.sql

hope this helps
0
 

Author Comment

by:Nemetona
ID: 34083607
Thank you shinug, that seems to do what I want.  If you don't mind I have a follow up question - the syntax for importing the exported.sql file (or at least one of the tables in it) into a different database with the same structure.
0
 
LVL 17

Expert Comment

by:Shinesh Premrajan
ID: 34083745
mysqlimport -uuser -ppass --replace --fields-terminated-by=';' dbname /path/to/db/file/to/import

Hope this helps


0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Suggested Solutions

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

910 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now