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. 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 "Save Password" checkbox isn't checked. But I saved password when I connected to MySQL server and it is clear that I know password. And usually if user check this checkbox for the server, then user will check it for all connections too. And there is no security reason why this checkbox isn't checked since password is known.
I'm already fixing this with some other work.
Proposed change is that we auto-connect with the MySQL user and password specified for the MySQL node. The user can always change these settings if they want to later. This means the existing New Connection dialog that comes up when you choose Connect... doesn't come up - you're auto-connected. Also, when you create a new database, a New Connection dialog does not come up - you're auto-connected instead.
I wonder if the only use case is that the connection would use the same user as the MySQL server node. If that's not the case changing this to auto connect would eliminate that opportunity. Maybe there should be 2 actions? Connect and Connect As... Just s thought. Also, didn't I make a partial fix for this so that the user doesn't need to enter the user name in the connection dialog.
Oh, sorry. This is the follow on to my fix. Nevermind. But my point about the 2 actions remains.
I was thinking it was reasonable to let people edit the connection once it's set up to use a different user. I'm open to other's thoughts on this, though.
6f01fd6db837
Verified with build 080916.
Integrated into 'main-golden', will be available in build *200809161401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/6f01fd6db837 User: David Van Couvering <davidvc@netbeans.org> Log: #146910: Make "Save Password" checkbox checked for a connection if it is checked for a server