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 210866 - Netbeans 7.1 MySQL Database Connection
Summary: Netbeans 7.1 MySQL Database Connection
Status: RESOLVED INCOMPLETE
Alias: None
Product: db
Classification: Unclassified
Component: MySQL (show other bugs)
Version: 7.1.1
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-07 22:40 UTC by sbliss
Modified: 2012-04-08 08:20 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 sbliss 2012-04-07 22:40:27 UTC
On initial try-connection: 10.0.1.2 is not allowed to connect to MySQL in Netbeans. 

On another try: cannot establish a connection to jdbc:mysql://localhost:3306/mysql using com.mysql.jdbc.Driver (n
Comment 1 matthias42 2012-04-08 08:20:01 UTC
Hey, from the few infos present I can only give some common advice:

1. Make sure the mysql server is running
2. If the mysqld is running remotely check that it listens also for remote connections (check if the line bind-address = 127.0.0.1 exists - this disables remote connections!)
3. If the mysqld is running locally check that networking is enabled (the option skip-networking disables tcp-connections)

If you still think this is a netbeans related problem, please reopen this bug and provide:

1. a screenshot of the error you mentioned
2. the messages.log file from the session you encountered the error (see in <netbeanshome>/<version>/var/log/messages.log