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.
- open Services - right Database -> New Connection - MySQL Driver - set databse to "affablebean" and password to my password and tick remember pwd - Next Error #1: I got "Cannot establish a connection to jdbc:mysql://localhost:3306/mysql?zeroDateTimeBehavior=convertToNull using com.mysql.jdbc.Driver (Access denied for user 'root'@'localhost' (using password: NO))". See attached screenhost. Which is weird - notice that url contains "mysql" as database name despite JDBC URL containing "affablebean". - I try "Test Connection" instead. from issue 217432, may be "password remember issue need to be filed too) I got the same "cannot establish..." but at least this time the URL is correct one. - Cancel wizard - right click "MYSQL Server (disconnected)" and do Connect - got some big dialog about "connection failed and maybe your settings are not correct" - Yes update my settings - set password and ticked save password again Now it looks like connection was established. Let's try to make new connection again: - right Database -> New Connection - MySQL Driver - set databse to "affablebean" and password (AGAIN empty!) to my password and tick remember pwd - Next The same Error #1 with wrong URL - Let's try Test COnnection instead - Connection Succeeded!!!! - Next, Next, Finish OK, now I have connection. Let's open the AffableBeans project and
http://hg.netbeans.org/core-main/rev/f739be76bb72 Seems to work fine now. Please verify. Thanks for reporting.
Integrated into 'main-golden', will be available in build *201209080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/f739be76bb72 User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #217969: New connection dialog use wrong connection on Next
Sergey, can you please verify, so that we can backport to 7.2.1? Thanks in advance.
Sergey is out starting today, could someone else verify? Cc'ing also Jirka.
proper connection is used now in 20121005, regarding password save independent from db registration password save it may be ok.
Integrated into release72: http://hg.netbeans.org/releases/rev/f2d69d3a0100 http://hg.netbeans.org/releases/rev/e776f6803264
Integrated into 'releases', will be available in build *201210100934* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/f2d69d3a0100 User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #217969: New connection dialog use wrong connection on Next