This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
1. Add MySQL Server to the IDE. 2. Rightclick it's node and choose "Create Database...". 3. Choose "travel" sample DB and click OK. 4. Click "Cancel" button in "New Database Connection" dialog. Result: Script isn't executed, but schema "travel" is created. Next time user will get message that schema already exists.
I had a discussion with another user about this, and we agreed the right approach here will be to ask the user if they want to drop the database (aka schema) if the user cancels the new connection dialog.
This requires a UI change where we ask the user if they want to drop the database if they Cancel the new connection dialog.
48a33856c0a2
Integrated into 'main-golden', will be available in build *200809071401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/48a33856c0a2 User: David Van Couvering <davidvc@netbeans.org> Log: #144844: Schema for sample DBs is created before script execution This is solved by asking the user if they want to delete the database that was created if they cancel
Verified with build 080910.