Bug #56295 Workbench: Edit script: failing to execute script with "Create database" stmt
Submitted: 26 Aug 2010 15:29 Modified: 29 Sep 2010 15:57
Reporter: Valerii Drotenko Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:5.2.26 CE, rev.6432 OS:Windows (2k3)
Assigned to: Sergei Tkachenko CPU Architecture:Any

[26 Aug 2010 15:29] Valerii Drotenko
Description:
The following script will fail:
QUOTE
 CREATE DATABASE dbDummyName;
 USE dbDummyName;
 
UNQUOTE

How to repeat:
Workbench -> Edit Script -> check "Execute script after opening" -> Finish

Actual result: Fatal error message box pops up.
[28 Aug 2010 12:26] Sveta Smirnova
Thank you for the report.

Verified as described.
[16 Sep 2010 23:33] Johannes Taxacher
fix confirmed in repository
[29 Sep 2010 15:57] Tony Bedford
An entry has been added to the 5.2.28 changelog:

In the SQL Editor, a statement containing CREATE DATABASE resulted in an unexpected error.