Can't export my database from mysql workbench

前端 未结 13 746
既然无缘
既然无缘 2020-12-07 20:24

I am trying to export my database from MySQL Workbench but I get this during the export progress:

Running: mysqldump.exe --defaults-file=\"c:\\users

相关标签:
13条回答
  • 2020-12-07 20:48

    In MySql Workbench version 8.0.13 do the following steps:

    1. Go to Management/Data export
    2. Choose the schema to export in the 'Tables to export' list
    3. Click the 'Advanced Options...' button (top right)
    4. Search for the option 'Other/column-statistics'
    5. Set the value to 0
    6. Click the 'Return' button (top right)

    Now it should work. Unfortunately, you'll have to do that every time you start MySql Workbench.

    0 讨论(0)
  • 2020-12-07 20:48

    Also ran into this problem. Decided as follows: In the Workbench menu, go to:

    Edit - Preferences - Administration

    In the field "Path to mysqldump Tool", prescribe the path to mysqldump.exe, in my case "C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqldump.exe", click OK.

    After that, the error no longer appeared.

    0 讨论(0)
  • 2020-12-07 20:49

    It is due to a flag that is by default "enabled" in mysqldump 8.

    That can be disabled by adding --column-statistics=0.

    Syntax :

    mysqldump --column-statistics=0 --host=<server> --user <user> --password <securepass> 
    

    For more info please go to link

    To disable column statistics by default, you can add

    [mysqldump]
    column-statistics=0
    

    to a MySQL config file, such as /etc/my.cnf or ~/.my.cnf.

    0 讨论(0)
  • 2020-12-07 20:50

    I too had the same problem.. I am able to resolve this Issue by disabling the column-statistics in the advanced options of the MySQL Workbench Data Export.

    1: Click on the advanced options:

    2: In the other section for the column-statistics remove TRUE and set it to 0 to disable it.

    Now Return and Export the Data. Thank You

    0 讨论(0)
  • 2020-12-07 20:52

    Bug still in Workbench 8.0.16.

    Fix:

    You can edit wb_admin_export.py under modules in the workbench program directory. Search for "skip_column_statistics = True" (you will find a conditional, don't worry), comment that line and add a line "skip_column_statistics = True" (without a conditional).

    The required parameter will now be always added.

    0 讨论(0)
  • 2020-12-07 20:54

    I had the same problem and I solved it like this:

    edit the workbench preferences: Edit -> Preferences -> Administration

    in the property "Path to mysqldump Tool" place the path of your mysqldump.exe It is usually found in "C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqldump.exe"

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