server version for the right syntax to use near 'USING BTREE 数据库文件版本不合导致的错误

MySQL 返回:#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'USING BTREE,
  KEY `lang` (`language_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8' at line 5
 
解决办法是打开要导入的文件在里面搜索 BTREE 找到如下内容:
PRIMARY KEY (`search`) USING BTREE,
修改为
PRIMARY KEY (`search`) USING BTREE (`search`),
或者直接删除USING BTREE
原因是mysql数据库文件版本不合。
转载请注明出处!小鱼阁工作室 -专注zencart建站,织梦企业建站,ecshop商城,二次开发,产品采集,模板修改!技术QQ 631992791
原文地址:https://www.cnblogs.com/afish/p/3986205.html