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.

Bug 144400 - Password for new MySQL connection should be specified even if root password is saved
Summary: Password for new MySQL connection should be specified even if root password i...
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: MySQL (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Rob Englander
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-19 14:44 UTC by Roman Mostyka
Modified: 2008-09-11 11:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Mostyka 2008-08-19 14:44:31 UTC
1. Rightclick "Databases" node and choose "Register MySQL Server...".
2. Enter necessary parameters, root user and password and check "Save Password" checkbox. MySQL server node will be added.
3. Expand it, rightclick some DB and choose "Connect".

Result: In appeared dialog password is absent and "Save Password" checkbox isn't checked. But I saved password when I
connected to MySQL server and it is clear that I know password. Why I have to specify it every time. I can change it if
necessary, but if I haveroot password I want just to add DB connections, without specifying password.
Comment 1 David Vancouvering 2008-08-19 18:10:14 UTC
This is a good point, this is annoying.  

Comment 2 Rob Englander 2008-09-03 22:38:35 UTC
ae64fa6d31ae
Comment 3 Rob Englander 2008-09-04 00:34:29 UTC
The defaulting of Save Password setting is not appropriate just because the password was passed along.  That part of the
change needs to be backed out, but the password passed from the MySQL registration will still be used as the default.

Roman, if you still feel that the Save Password should be defaulted from the registration dialog as well, please add an
enhancement request.  It requires a public API change.
Comment 4 Quality Engineering 2008-09-04 06:17:57 UTC
Integrated into 'main-golden', will be available in build *200809040201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/ae64fa6d31ae
User: Rob Englander <mindstream@netbeans.org>
Log: #144400 If the password is specified and kept during MySQL registration, then new connections created from a Database under that server node will default to using that same username and password, and will also default to keeping the password.
Comment 5 Rob Englander 2008-09-04 13:16:07 UTC
24f090285470
Comment 6 Quality Engineering 2008-09-05 06:20:50 UTC
Integrated into 'main-golden', will be available in build *200809050201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/24f090285470
User: Rob Englander <mindstream@netbeans.org>
Log: #144400 Don't default the "save password" checkbox in New Connection dialog.
Comment 7 Roman Mostyka 2008-09-11 11:13:06 UTC
Verified with build 080910.