MySQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMySQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old February 25th, 2005, 01:57 PM
gertcuppens's Avatar
gertcuppens gertcuppens is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 118 gertcuppens User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 h 28 m
Reputation Power: 5
export and import BLOB's

I made a database containing some tables about movies and actors.
The movie table contains one blob field in which I have stored the poster of the movie.
My colleague is collecting the information about the movies (titles, year of release).
Then, I do the export from her table and import this table into my environment.
There I add the poster in the blob field. This works nice and I've made a JSP which
shows the poster alongside with the textual information.
Unfortunately, when I used Navicat to do the export of my table (with the posters) and
wanted to import this table in the database of my colleague, we got an error.
Does anyone know what should be done to be able to export BLOB's from a table and
import them again in the same table but on another environment ?

Reply With Quote
  #2  
Old March 12th, 2005, 03:34 AM
gertcuppens's Avatar
gertcuppens gertcuppens is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 118 gertcuppens User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 h 28 m
Reputation Power: 5
I've found the answer to this problem, so, in case anyone has the
same problem : I use the data transfer menu option to download
the SQL instructions (containing create and insert statements).

ANd this worked. Mind you, since the blobs are quite big (I even had
to use longblob instead of blob), I had to copy and paste the inserts
by the 10; not all at once.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMySQL Development > export and import BLOB's


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway