Export Data from mysql Workbench 6.0

后端 未结 9 1989
无人共我
无人共我 2021-01-29 19:04

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 w         


        
相关标签:
9条回答
  • 2021-01-29 19:35

    In CentOS 7,

    Open file /usr/lib64/mysql-workbench/modules/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.

    0 讨论(0)
  • 2021-01-29 19:37

    Removing delayed-insert line in wb_admin_export_options.py solves the problem. You need to get admin rights to modify the file.

    Nonetheless consider that your MySQL database might have been not properly upgraded before.

    0 讨论(0)
  • 2021-01-29 19:41

    mysqldump: [ERROR] unknown variable 'delayed-insert=FALSE'


    This error occurs on various systems and can be temporarily fixed by:

    1. 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)

    2. Open file wb_admin_export_options.py

    3. Find line "delayed-insert":["Write INSERT DELAYED statements rather than ...

    4. Insert # at the begin of this line to comment it out

    5. Save file and restart Workbench.


    Tested on Windows 7 x64, MySQL 5.6.27 (MyISAM) & Workbench 6.3.5 x64.

    Tested on OSX Yosemite 10.10.4, MySQL 5.5.27 (MyISAM), Workbench 6.3.5 build 201 CE x64.

    0 讨论(0)
提交回复
热议问题