Bug #42030 | Cannot restore blob data from SQL-script | ||
---|---|---|---|
Submitted: | 11 Jan 2009 15:23 | Modified: | 12 Jan 2009 10:47 |
Reporter: | Christian Velin | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S2 (Serious) |
Version: | 4.1.22 | OS: | Linux (SME server) |
Assigned to: | CPU Architecture: | Any |
[11 Jan 2009 15:23]
Christian Velin
[11 Jan 2009 15:25]
Christian Velin
A backup which cannot be imported
Attachment: t_con.sql (application/octet-stream, text), 7.84 KiB.
[12 Jan 2009 8:48]
MySQL Verification Team
the sql statements created are invalid. Here's an example of what you're trying to restore: create table t1(a blob); replace into t1 values (0x); will not work. Please show us a part of the *mysqldump* generated file, and also the exact options passed to mysqldump to create it. thanks,
[12 Jan 2009 10:46]
Christian Velin
After re-checking it I see the problem, the blob data was not properly exported. After re-exporting it imports work fine. You can close this issue!
[12 Jan 2009 10:47]
Christian Velin
The export options were incorrect and resulted in a bad export.