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.
Summary: | can't connect to MySQL server using NetBeans 6.1, 6.5, 6.5.1 on ArchLinux i686, JDK 1.6.0_12-b04 | ||
---|---|---|---|
Product: | db | Reporter: | thea <thea> |
Component: | MySQL | Assignee: | Jiri Rechtacek <jrechtacek> |
Status: | RESOLVED WORKSFORME | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
This is the error in windows vista. It says exactly the same in xp
I used the options you said Maybe this is the correct log. |
Description
thea
2009-04-08 16:05:55 UTC
I'm evaluating this problem... It also fails for windows vista and xp I have been working in an application and I backup the db for use in my house, I instaled mysql 5.1 with all the tools and I cant connect to the server. Please refer to the image. Created attachment 80460 [details]
This is the error in windows vista. It says exactly the same in xp
Sorry, I miss to tell you that I can connect via mysql tools and from and the mysql odbc driver. When I add the mysql driver, and I open the combobox, the mysql driver name appears four times, and I installed only one. Maybe this help you. Thanks It seems as a problem with proxy server while creating a network socket. Could you run your IDE with verbose logging. i.e. run IDE with command options: -J-Dorg.netbeans.core.NbProxySelector.level=-1 -J-Dorg.netbeans.core.ProxySettings.level=-1 and then send your messages.log back? Thanks Here is the log, hope this is what you asked for... Thanks for the fast reply... Created attachment 80548 [details]
I used the options you said
Created attachment 80549 [details]
Maybe this is the correct log.
I have exactly same issue on Pardus Linux with Netbeans 6.5.1 and Mysql 5.0.51b . I started netbeans with -J-Dorg.netbeans.core.NbProxySelector.level=-1 -J-Dorg.netbeans.core.ProxySettings.level=-1 options but I can't find where message.log file is. Is there any thing new about this issue ? To nightwalker_s: the messages.log is placed in your home directory, like C:/Users/<account_name>/.netbeans/<NetBeans version>/var/log/messages.log I have this problem in Vista and in XP. Can connect to database with Gui Tools. Can connect to database through my code, but if I want to use Hibernate or just connect via the Services tab in Netbeans 6.5 Has there been any feedback on this issue yet jrechtacek?? NB6.7 was released already - http://www.netbeans.org/community/releases/67/ Postpone fixing this issue on the next release. I solved this issue by adding ----------- mysqld: ALL ---------- to /etc/hosts.allow and by commenting the variable --------------- Skip-Networking ---------------- in /etc/mysql/my.cnf Is it still a valid problem in NB7.0M2? I also can't connect to the MySQL server, using NetBeans with PCLinuxOS and Netbeans 7.0 beta. The MySQL server is running and other software and drivers are able to connect to the MySQL server such as MySQL Administrator but the Netbeans connection wizard just reports. "cannot establish a connection to jdbc:mysql://localhost:3306/mysql using com.mysql.jdbc.Driver (Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)" Resolved this by editing the MySQL startup parameters file and commenting out "skip-networking". --------------- skip-networking ---------------- in /etc/my.cnf changed to: #skip-networking |