【问题标题】:MySQL Workbench Unable to export dataMySQL Workbench 无法导出数据
【发布时间】:2019-03-30 21:41:50
【问题描述】:

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

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工作台从网上导出sql。

【问题讨论】:

  • 你使用的是哪个版本的 MySQL Workbench

标签: mysql workbench


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 2013-05-30
    • 2013-12-06
    • 2016-01-13
    • 2012-10-12
    • 2012-10-12
    • 1970-01-01
    • 1970-01-01
    • 2017-04-12
    • 2018-10-14
    相关资源
    最近更新 更多