I have just met similar problems and found the following way to add options. My environment is:
- Windows 8/64bit
- MySQL Workbench 6.08 (you may adjust the step according to your system such as Linux)
First, close MySQL Workbench
In the folder: C:\Program Files (x86)\MySQL\MySQL Workbench CE 6.0.8\modules there are many python files, there is a file called
- wb_admin_export_options.py which is Python source code and there is another file with same name
- wb_admin_export_options.pyc which is a compiled Python file.
Step to Edit
rename 2 into wb_admin_export_options.pyc-org to avoid the program
read the old option list and make a copy of 1 in case there is any
problem
run your code editor in Administrator mode if in Window for UAC reason. Open wb_admin_export_options.py
Note: You will see the option list for mysqldump which is appear in Workbench->Administration[Tab]->Advanced Options...[button on the top right]
Note on editing the file
Add the option you need in the list similar to the source code, eg: The true of false near the closing bracket means default value (check or uncheck by default)
"create-options":["Include all MySQL-specific table options in CREATE TABLE statements.","TRUE"],
Open the MySQL Workbench again and it will read the updated option list and let you choose from.
Hope this help.