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 155697 - MySQL auto-detection not working on clean userdir
Summary: MySQL auto-detection not working on clean userdir
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: MySQL (show other bugs)
Version: 6.x
Hardware: All Mac OS X
: P1 blocker (vote)
Assignee: Rob Englander
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2008-12-17 18:55 UTC by David Vancouvering
Modified: 2009-02-19 20:38 UTC (History)
1 user (show)

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 David Vancouvering 2008-12-17 18:55:22 UTC
The MySQL node is there with my old userdir, but when I clean out my userdir, the MySQL node isn't being auto-detected
any more.
Comment 1 David Vancouvering 2008-12-17 22:55:22 UTC
This is still a problem even after a fresh pull and build.
Comment 2 Rob Englander 2008-12-17 23:49:54 UTC
I'm assuming that you are able to register the node yourself.  Point me to the code that
does the MySQL detection and I'll chase this down.
Comment 3 David Vancouvering 2008-12-18 00:14:16 UTC
The method getNodes() in impl.ServerNodeProvider does the auto-registration.  In debug mode, when I expand the Databases
node, getNodes() is not being called.

get usages shows that getNodes() is called by DBNodeLoaderImpl in dbapi, which I don't think you're using any more, and
thus the problem.  But that's me just guessing.

Comment 4 Rob Englander 2008-12-18 02:20:00 UTC
Great, thanks.  I'll be able to resolve it from there.
Comment 5 Rob Englander 2008-12-19 19:53:20 UTC
22374e201e93
Comment 6 Roman Mostyka 2008-12-22 11:52:57 UTC
Verified with build 081221.
Comment 7 Quality Engineering 2008-12-23 17:12:56 UTC
Integrated into 'main-golden', will be available in build *200812231401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/22374e201e93
User: Rob Englander <mindstream@netbeans.org>
Log: #155697 Re-enabled MySQL auto-detection in ServerNodeProvider.