Can't export my database from mysql workbench

前端 未结 13 827
既然无缘
既然无缘 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:54

    in version 8, I modified "wb_admin_export.py" and restart workbench. works for me

    def start(self):
    .
    .
    .
        title = "Dumping " + schema
        title += " (%s)" % table
        # description, object_count, pipe_factory, extra_args, objects
        args = []
        args.append('--column-statistics=0')
    
    class ViewsRoutinesEventsDumpData(DumpThread.TaskData):
        def __init__(self, schema, views, args, make_pipe):
            title = "Dumping " + schema + " views and/or routines and/or events"
            if not views:
               extra_args = ["--no-create-info"]
            else:
                extra_args = []
            DumpThread.TaskData.__init__(self,title, len(views), ["--skip-triggers", " --no-data" ," --no-create-db", "--column-statistics=0"] + extra_args + args, [schema] + views, None, make_pipe)```
    

提交回复
热议问题