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 137345 - PHP Snippets: Connection to Database cannot be added with empty password
Summary: PHP Snippets: Connection to Database cannot be added with empty password
Status: RESOLVED WONTFIX
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-16 17:56 UTC by Roman Mostyka
Modified: 2009-05-25 20:55 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 Roman Mostyka 2008-06-16 17:56:34 UTC
1. Start MySQL (set empty password).
2. Start IDE. MySQL will be automatically registered.
3. Create PHP project.
4. Press Alt+Insert and choose "Connection to Database...".
5. Select in dropdown list registered MySQL (should be something like "jdbc:mysql://localhost:3306 [root on Default
schema]").

Result: "The password for the selected connection is unknown." message appears and "OK" button is disabled, since empty
password should work.
Comment 1 Andrei Badea 2008-08-05 16:02:31 UTC
I guess this needs to be fixed in the database area. We need a way to distinguish between "unknown password" and "known,
but empty". Perhaps use null for the former and empty string for the latter.
Comment 2 Andrei Badea 2008-09-24 10:20:59 UTC
I think this is too risky to fix for 6.5, since it affects connection management. I do not think it is an important
issue to begin with, since I do not think many users have empty passwords.
Comment 3 David Vancouvering 2008-11-14 21:45:54 UTC
Will reconsider fixing this in 7.0 if we see some user reports around it.  I'm not sure how important supporting empty
passwords is.
Comment 4 Jiri Rechtacek 2009-02-10 15:14:23 UTC
Reassigned to new owner.
Comment 5 Jiri Rechtacek 2009-05-12 14:00:42 UTC
No in plans to fix it.