首页

通过navicat做myslq数据同步时报"[Err] [Dtf] 1286 - Unknown storage engine InnoDB"错误

标签:error,mysql,navicat,InnoDB,MYISAM,数据同步,迁移,DataTransfer     发布时间:2016-10-23   

一、问题描述

通过navicat进行mysql数据库数据迁移和导出sql脚本时,报出“[Err] [Dtf] 1286 - Unknown storage engine 'InnoDB'..[Err] [Dtf] Finished - Unsuccessfully”错误,如下图所示

通过navicat做myslq数据同步时报"[Err] [Dtf] 1286 - Unknown storage engine InnoDB"错误

二、解决步骤

1. 关闭mysql服务,如下图

通过navicat做myslq数据同步时报"[Err] [Dtf] 1286 - Unknown storage engine InnoDB"错误

2. 修改mysql安装目录下my.ini数据库引擎为INNODB - (default-storage-engine=INNODB ),之前内容如下所示(原来引擎配置的是MYISAM)

[client]@b@port=3306@b@[mysql]@b@default-character-set=latin1@b@[mysqld]@b@port=3306@b@basedir="C:/Saas/MySQL/MySQL Server 5.5/"@b@log-slave-updates=ON @b@datadir="C:/ProgramData/MySQL/MySQL Server 5.5/Data/"@b@character-set-server=latin1@b@@b@default-storage-engine=MYISAM@b@@b@sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"@b@max_connections=5000@b@innodb-open-files=3000@b@table_cache=512@b@tmp_table_size=128M@b@thread_cache_size=100@b@myisam_max_sort_file_size=100G@b@myisam_sort_buffer_size=36M@b@key_buffer_size=300M@b@read_buffer_size=80128K@b@read_rnd_buffer_size=10512K@b@sort_buffer_size=8256K@b@innodb_additional_mem_pool_size=200M@b@innodb_flush_log_at_trx_commit=1@b@innodb_log_buffer_size=80M@b@innodb_buffer_pool_size=1200M@b@innodb_log_file_size=40M@b@innodb_thread_concurrency=200@b@skip-grant-tables@b@max_allowed_packet=800M@b@max_connect_errors = 10000000@b@wait_timeout = 200000@b@long_query_time=4@b@log_slow_queries=ON@b@query_cache_type=ON@b@query_cache_size=100M@b@open_files_limit=50000

修改后完整内容如下

[client] @b@port=3306 @b@[mysql] @b@default-character-set=latin1 @b@[mysqld] @b@port=3306 @b@basedir="C:/Saas/MySQL/MySQL Server 5.5/" @b@datadir="C:/ProgramData/MySQL/MySQL Server 5.5/Data/" @b@character-set-server=latin1 @b@default-storage-engine=INNODB @b@@b@sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"@b@max_connections=100 @b@query_cache_size=0@b@table_cache=256@b@tmp_table_size=9M@b@thread_cache_size=8 @b@myisam_max_sort_file_size=100G@b@myisam_sort_buffer_size=18M@b@key_buffer_size=11M@b@read_buffer_size=64K@b@read_rnd_buffer_size=256K@b@sort_buffer_size=256K@b@innodb_additional_mem_pool_size=2M@b@innodb_flush_log_at_trx_commit=1@b@innodb_log_buffer_size=1M@b@innodb_buffer_pool_size=128M@b@innodb_log_file_size=10M@b@innodb_thread_concurrency=8@b@skip-grant-tables@b@max_allowed_packet=20M@b@max_connect_errors = 10000000@b@wait_timeout = 60000

3. 重启服务,问题解决了