MySQL Workbench 无法导出数据

问题描述 投票:0回答:1

尝试导出大型数据库时,我收到此错误消息:

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

知道为什么吗?我应该怎么做才能成功地将表格从在线导出到离线。我想从网络服务器下载我本地的sql。

在这种情况下,我使用mysql workbench从网上导出sql。

mysql workbench
1个回答
0
投票

Mysql-workbench 从 8.0.14 版开始禁用 disable column-statistics 的选项,但您可以按照以下解决方案使用较新版本的 MySQL-workbench 执行此操作: https://stackoverflow.com/a/64855306/10747412

© www.soinside.com 2019 - 2024. All rights reserved.