The central directory was not found in the archive (or you were trying to open not the last volume of a segmented archive).
场景:本机整理好的excel,复制到虚拟机中,使用虚拟机中的Navicat导入到数据库表中。选择导入数据,选择好文件后,一直会提示上述错误。
解决:在虚拟机中安装excel类软件,例如:WPS 或者 Office Excel。
原因:猜测,Navicat在使用excel表格导入数据时,底层会调用 excel相关类库。而安装上excel类软件会自带安装上相关的类库。