MySQL Workbench无法导出数据

时间:2018-10-26 07:19:31

标签: mysql workbench

尝试导出大型数据库时,出现以下错误消息:

13:16:10 Dumping interlog_isems (all tables)
Running: mysqldump.exe --defaults-file="c:\users\admin\appdata\local\temp\tmpo5nj8c.cnf"  --user=interlog_isems --host=103.52.144.133 --protocol=tcp --port=3307 --default-character-set=utf8 --skip-triggers "interlog_isems"
mysqldump: Error: 'The foreign data source you are trying to reference does not exist. Data source error:  error: 1146  'Table 'tmi_inv.fedTransfer3' doesn't exist'' when trying to dump tablespaces
mysqldump: Couldn't execute 'SELECT COLUMN_NAME,                       JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"')                FROM information_schema.COLUMN_STATISTICS                WHERE SCHEMA_NAME = 'interlog_isems' AND TABLE_NAME = 'VW_Device';': Unknown table 'COLUMN_STATISTICS' in information_schema (1109)

Operation failed with exitcode 2
13:16:12 Export of C:\Users\Admin\Documents\dumps\interlog_isems.sql has finished with 1 errors

任何线索为何?我应该怎么做才能成功地将表从在线导出到离线。我想从Web服务器上本地下载sql。

在这种情况下,我正在使用mysql工作台从网上导出sql。

1 个答案:

答案 0 :(得分:0)

8.0.14版中的

Mysql-workbench 禁用了 disable column-statistics 的选项,但是您可以按照以下解决方案使用更新版本的MySQL-workbench : https://stackoverflow.com/a/64855306/10747412