Solved

export a blob field

Posted on 2010-11-08
3
478 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:
shinuq 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:shinuq
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.

Join & Write a Comment

Suggested Solutions

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
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…

746 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

12 Experts available now in Live!

Get 1:1 Help Now