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 with admin parameters. 2. Start it, connect to it, then disconnect and stop it. 3. Open "Properties" dialog, remove admin properties and click "OK". Result: "Question" dialog appears. Why it appears?
Created attachment 69656 [details] Screenshot of "Question" dialog.
I can't reproduce this. I think you are also changing the basic properties? I think the issue is that what we do right now is whenever you change a property that affects how we connect to the server, we automatically try to reconnect. I think what we should do here is ask the user if they want to reconnect first. I'll work on that, but let me know if you disagree.
OK, I still can't reproduce the behavior you're seeing, but after further experimenting, I noticed that as part of the fix to issue 142549, I removed the logic that attempted to reconnect after changing basic properties. Are you running with a build that includes this fix? The fix was integrated into build 200809071401. I noticed this issue was logged Sep 11 but perhaps? I'm not sure what's going on here, but that's one suspicion - you're working with an older build. Marking as INCOMPLETE, please either close the bug as fixed if you can't reproduce or re-open with instructions on how to reproduce. If necessary let's do a VNC session so you can show me how to reproduce.
I think I may have figured out what happens here. I registered a property change listener to reconnect when restarting the server, and this PCL is never removed. I am removing this PCL as part of the fix to Issue 147550, so please see if you can reproduce after the fix for this issue is pushed to main-golden.
Update: removing the PCL needs some careful thought. I won't be changing it as part of the fix to issue 147550. I still would like to see if you can reproduce this issue, and if so, how. I suspect how you do it is change the settings twice, once setting it correctly and then once again deleting it. Then the PCL is installed and starts trying to do things when you don't want it to. Let me know what you find out.
No, David, now I'm also unable to reproduce this issue. I think it was fixed with other fixes. I will file another issue, but it is slightly different and about basic properties.
Verified with build 080918.