Bug #52712 Allow editing sql scripts without a connection
Submitted: 9 Apr 2010 9:12 Modified: 9 Apr 2010 10:58
Reporter: Chris Chilvers Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S4 (Feature request)
Version:5.2.17 OS:Any
Assigned to: CPU Architecture:Any

[9 Apr 2010 9:12] Chris Chilvers
Description:
The SQL editor should be usable without a connection. Sometimes you just want to quickly edit an SQL file with proper syntax highlighting, etc.

How to repeat:
From the home tab try and edit an SQL script, you will be forced to first open a connection to a database.

Suggested fix:
Should be able to open and edit a file without a connection, any features such as execute should be disabled.

There should also be a way to later establish a connection.
[9 Apr 2010 10:58] Valeriy Kravchuk
Thank you for the feature request.
[21 Apr 2010 11:47] Johannes Taxacher
as a workaround, you could create a document and use "SQL scripts" editor on documents overview - this text-editor has at least syntax highlighting.