Export Data from mysql Workbench 6.0
原文地址:export-data-from-mysql-workbench-6-0
-
问题描述
I'm trying to export my database, using MySQL Workbench 6.0 on Windows, to send to my db instance in Amazon RDS, but i'm getting this error:
Operation failed with exitcode 7
11:34:40 Dumping clubbin (taxicompanies)
Running: "C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqldump.exe"
-defaults-extra- file="c:\users\selene\appdata\local\temp\tmp6o0hno.cnf"
--max_allowed_packet=1G --delayed- insert=FALSE --host=localhost --user=root
--port=3306 --default-character-set=utf8 "clubbin" "taxicompanies"
mysqldump: [ERROR] unknown variable 'delayed-insert=FALSE'
2.解决方式:
mysqldump: [ERROR] unknown variable 'delayed-insert=FALSE'
This error occurs on various systems and can be temporarily fixed by:
Going to the appropriate directory depending on the system:
a) Windows: C:\Program Files\MySQL\MySQL Workbench 6.3 CE\modules (32-bit installation on x64 systems: C:\Program Files (x86)\MySQL\MySQL Workbench 6.3 CE\modules)
b) Mac OS X: Applications/MYSQLWorkbench.app/Contents/Resources/plugins - right click on the app and select Show Package contents to get inside the app (thanks to Bradley Flood)
c) Linux Ubuntu: /usr/lib/mysql-workbench/modules (thanks to Alessandro Lopes)
Open file wb_admin_export_options.py
Find line "delayed-insert":["Write INSERT DELAYED statements rather than ...
Insert # at the begin of this line to comment it out
Save file and restart Workbench.
Tested on MySQL 5.6.27 (MyISAM) & Workbench 6.3.5 x64 (Windows 7 x64) with no errors.
Confirmed it works, thanks. – Mario Lopez Oct 29 at 1:23
15
For users on OSX the wb_admin_export_options.py file is located in Applications -> MYSQLWorkbench.app/Contents/Resources/plugins. Note: right click on the app and select Show Package contents to get inside the app. – Bradley Flood Oct 29 at 2:57
Fresh install of all new MySQL software on a new Mac with all updates as of Nov 1st, 2015. This fixes the export data issue. Thanks! – halfnibble Nov 1 at 22:55
For Ubuntu users the is located at /usr/lib/mysql-workbench/modules/wb_admin_export_options.py – Brian Leishman Nov 9 at 15:08
this was a great help, thanks – shifter Nov 17 at 2:34
分类:
mysql
【推荐】还在用 ECharts 开发大屏?试试这款永久免费的开源 BI 工具!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 理解Rust引用及其生命周期标识(下)
· 从二进制到误差:逐行拆解C语言浮点运算中的4008175468544之谜
· .NET制作智能桌面机器人:结合BotSharp智能体框架开发语音交互
· 软件产品开发中常见的10个问题及处理方法
· .NET 原生驾驭 AI 新基建实战系列:向量数据库的应用与畅想
· 2025成都.NET开发者Connect圆满结束
· 后端思维之高并发处理方案
· 千万级大表的优化技巧
· 在 VS Code 中,一键安装 MCP Server!
· 10年+ .NET Coder 心语 ── 继承的思维:从思维模式到架构设计的深度解析