Bug #90795 | Migration of BIT data from MSSQL to MySQL | ||
---|---|---|---|
Submitted: | 9 May 2018 1:23 | Modified: | 9 Jun 2018 8:22 |
Reporter: | Gavin Lambert | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Workbench: Migration | Severity: | S2 (Serious) |
Version: | 6.3.9 | OS: | Windows (8.1) |
Assigned to: | CPU Architecture: | x86 (64-bit) |
[9 May 2018 1:23]
Gavin Lambert
[9 May 2018 1:50]
Gavin Lambert
The process still fails even if I do allow it to create the schema as it wishes, although for a different reason; I get corrupted log output like the below: ... 13:39:24 [DB1][ copytable]: Executing queryPROGRESS:`boi`.`report_entry`:96:96 : SELECT END:`boi`.`report_entry`:Finished copying 96 rows in 0m11s ... - `boi`.`report_entry` has FAILED (0 of 96 rows copied) The corrupted logging is I assume the result of logging from multiple threads or processes into the same output without proper synchronisation. I don't know what the actual error is as it does not appear to be logged. Unless the interleaving is also a cause. So I tried reducing the number of worker tasks to 1. This succeeded and all data was copied, although I still have the wrong schema, and I'm not sure what to do about that.
[9 May 2018 7:38]
Gavin Lambert
FWIW I finally managed to get the data into the right schema, though it took some finagling. I first had to migrate to a separate newly created database as above, then export "data-only" to an sql file, then manually edit the file to correct some of the table names (the migration had lowercased them all, while a couple of the "real" tables had all-uppercase names, and it wouldn't import until this was fixed), and then finally import that script to the "real" database. I am not 100% certain yet that this has imported all the data correctly, but it at least executed without errors (even on those BIT fields, which again suggests that the migration changing their type was unnecessary).
[9 May 2018 8:22]
MySQL Verification Team
Thank you for the bug report. Please provide the SQL Server create table statement which fails to be migrated. Thanks.
[10 Jun 2018 1:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".