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 204629

Summary: Createing entity class with database to connect to MySQL does not enable selection of database schema
Product: db Reporter: coderogue
Component: MySQLAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 7.0.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description coderogue 2011-11-03 14:18:55 UTC
tried to connect to mysql database with this: mysql-connector-java-5.1.18-bin.jar

test connection is successful. However, the database selection dropdown is disabled and no database shown.

When I proceed, it reads the mysql tables instead.
Comment 1 Jaroslav Havlin 2012-12-03 10:52:57 UTC
(In reply to comment #0)
> Test connection is successful.
> However, the database selection dropdown is disabled and no database shown.
Do you mean "Select schema:" dropdown?

I think that there are no schemas in MySQL,
see http://dev.mysql.com/doc/refman/5.0/en/create-database.html

You should probably set the database name in (previous) wizard page "Customize Connection", in field "Database:".

Does it work for you?

> When I proceed, it reads the mysql tables instead.
Comment 2 Jaroslav Havlin 2012-12-18 12:47:04 UTC
Closing, I thing that the current behavior is correct.
Please reopen if you can provide more details of your use case. Thanks.