Bug 123290 - Auto-register a connection for MySQL
Auto-register a connection for MySQL
Status: RESOLVED FIXED
Product: db
Classification: Unclassified
Component: Code
6.x
All All
: P2 (vote)
: 6.x
Assigned To: David Vancouvering
issues@db
http://wiki.netbeans.org/AutoRegister...
: PLAN, UI
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-03 20:37 UTC by David Vancouvering
Modified: 2008-02-13 17:28 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Vancouvering 2007-12-03 20:37:00 UTC
PostgreSQL is often set up by default to be at a default port on localhost with the 'postgres' user.  It would be useful
to automatically register a connection with these defaults so that in many cases a user can "just connect" to PostgreSQL
out of the box.
Comment 1 David Vancouvering 2007-12-03 21:51:07 UTC
Adding MySQL to this, we should do both of them.  Also pointed to the UI/Functional spec for this enhancement.
Comment 2 Andrei Badea 2007-12-06 10:45:57 UTC
FWIW, -1 from me. 

The benefit of registering such connections for a Java user is questionable; the user can register the (correct, not
guessed!) connections himself/herself, it's not a big deal since the driver is already registered. As for users of other
technologies such as Ruby and PHP, what we need to do is make shield JDBC from them, not autodetect some connection and
hope it's the one they want to use.

By the way, how do you know which database is the default when you don't specify one in the connection URL? Do you think
it's common for users to connect without explicitly specifying a database name?

Do you plan to at least check if there is a server running on the default ports before registering the connection? Do
you plan to make sure that if the users deletes the connections, they don't get re-added after restart?
Comment 3 David Vancouvering 2008-02-01 23:35:47 UTC
Hi, please review this spec.  Thanks!
Comment 4 David Vancouvering 2008-02-13 16:44:06 UTC
No comments, so I'm assuming this is OK
Comment 5 David Vancouvering 2008-02-13 16:45:16 UTC
Will not be doing PostgreSQL in this release, or if I do I'll make it a separate issue.
Comment 6 David Vancouvering 2008-02-13 17:28:56 UTC
Checked in revision a619565a1a7b


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo