Bug #65261 Open sql editor via command line argument
Submitted: 9 May 2012 15:16 Modified: 31 Jul 2013 5:17
Reporter: Bogdan Fürst Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S4 (Feature request)
Version:5.2.39 OS:Windows (Microsoft Windows 7 Ultimate Edition (build 7600), 64-bit)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[9 May 2012 15:16] Bogdan Fürst
Description:
I could not find a way to open an sql script file with workbench from Visual Studio 2010 as external tool, since workbench closes if no connection is open. i ask for some way to specify one or more connections registered in workbench.

Also it seem altogether impossible to open a file with an extension other than '.sql'...

How to repeat:
1) File -> Open script
2) attempt to open script file via command line
[10 May 2012 18:48] Valeriy Kravchuk
Thank you for the feature request.
[31 Jul 2013 5:17] Philip Olson
Fixed as of MySQL Workbench 6.0.4, and here's the changelog entry:

As requested, MySQL Workbench can be opened from Visual Studio (or most any application) as an external tool. The "--query" command line option accepts connection information, see "--help" for additional options.

Thank you for the bug report.