简体   繁体   English

用于MySQL的SQL Server迁移助手-连接已禁用错误

[英]SQL Server Migration Assistant for MySQL - the connection has been disabled error

Migrating 1.6m rows from MySQL 5.5 to SQL Server 2012. I've attempted to migrate the data on several occasions and the process fails after an even number of rows. 将160万行数据从MySQL 5.5迁移到SQL Server2012。我曾几次尝试迁移数据,并且在偶数行之后该过程失败。 I've tried with different batch sizes and timeouts and I've failed after migrating 55,000 rows, 44,000 rows, 55,000 rows, and finally 42,000 rows. 我尝试了不同的批处理大小和超时,但在迁移55,000行,44,000行,55,000行,最后42,000行之后,我却失败了。

Does anyone have experience in migrating successfully? 有没有人有成功迁移的经验?

Most recent error below. 以下是最近的错误。

The data migration engine is migrating table 'source_db.table': > target_db.dbo.table, 1688992 rows total
The connection has been disabled.
 Errors: The connection has been disabled.
Completing migration of table source_db.table...
Migration complete for table 'source_db.table': > target_db.dbo.table, 42000 rows migrated (Elapsed Time = 00:00:04:03:856).
Data migration operation has finished.
    0 table(s) successfully migrated. 
    1 table(s) partially migrated. 
    0 table(s) failed to migrate.

I increased the CPU cores from 1 to 8 in my Virtual Machine where I am running the SSMA to migrate from MySql to MsSql. 我在运行SSMA的虚拟机中将CPU核心从1个增加到8个,以从MySql迁移到MsSql。 It Worked for me. 它为我工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM