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 215065 - mysql connection had bad name
Summary: mysql connection had bad name
Status: RESOLVED INVALID
Alias: None
Product: db
Classification: Unclassified
Component: MySQL (show other bugs)
Version: 7.2
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-02 12:20 UTC by Kenneth Ganfield
Modified: 2012-07-02 17:06 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 Kenneth Ganfield 2012-07-02 12:20:08 UTC
Product Version: NetBeans IDE Dev (Build nbms-and-javadoc-9325-on-20120622)
Java: 1.6.0_31; Java HotSpot(TM) 64-Bit Server VM 20.6-b01-415
System: Mac OS X version 10.6.8 running on x86_64; MacRoman; en_US (nb)


When creating a db connection for a mysql db in the Services window, the IDE is creating a display name and URL for the connection that is basically incorrect.


Creating the connection for MySQL creates, eg, the following connection:
jdbc:mysql://localhost:3306/consult?zeroDateTimeBehavior=convertToNull [ken on Default schema]

(correct should be, eg:
jdbc:mysql://localhost:3306/consult [ken on Default schema]


Marking as P2 because this is a regression.
This was working correctly for 7.2 Beta
Comment 1 matthias42 2012-07-02 16:54:25 UTC
This is not a regression but a feature. The name after creation basicly reflects the jdbc url of the connection. The parameter in the jdbc url is intended as a fix for problem in the mysql driver (see bug #183440 for an explanation).

If you meant, that you want be able to set the name of the database connection when creating it, please file an enhancement request, not a defect.
Comment 2 Kenneth Ganfield 2012-07-02 17:06:46 UTC
I see. Thank you for the explanation