Bug #61910 on import the switch "--defaults-extra-file" has extraneous quotes
Submitted: 19 Jul 2011 18:29 Modified: 15 Nov 2011 3:35
Reporter: trevor w Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Administration Severity:S2 (Serious)
Version:5.2.34 OS:Windows
Assigned to: CPU Architecture:Any

[19 Jul 2011 18:29] trevor w
Description:
On Windows when importing a dump, the switch --defaults-extra-file is generated with a command along these lines:

"c:\dir\mysql.exe" "--defaults-extra-file="c:\sometemp\file.cnf" " --username=user < dump.sql

The switch has quotes around it, causing the parsing to be:
1 "--defaults-extra-file="
2 c:\sometemp\file.cnf
3 " "

This silently dies in the import and shows no status.

How to repeat:
see above
[19 Jul 2011 18:51] Valeriy Kravchuk
What version of Workbench, 5.2.x, do you use?
[19 Jul 2011 19:02] trevor w
5.2.34
[19 Jul 2011 21:25] MySQL Verification Team
Thank you for the bug report.
[15 Nov 2011 3:35] Philip Olson
Fixed as of 5.2.36:

+        Importing a dump would misquote the
+        <option role="general">--defaults-extra-file</option> option,
+        which would cause the import to fail.