Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

export a blob field

Posted on 2010-11-08
3
485 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
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…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
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…

809 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