my dog learned polymorphism*
The moose likes IDEs, Version Control and other tools and the fly likes Issues with registering MySQL to Netbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Issues with registering MySQL to Netbeans" Watch "Issues with registering MySQL to Netbeans" New topic
Author

Issues with registering MySQL to Netbeans

John Paterson
Ranch Hand

Joined: Mar 12, 2012
Posts: 121
Hi Folks,

Pardon me if this is the wrong place to post this. I was trying to register mysql with netbeans based on instructions given in the following page: http://netbeans.org/kb/docs/ide/mysql.html. I have run into some trouble. When I right clicked on the MySQL Server node in the services tab, and selected stop I received an error message that asked me to correct the error for 'Path to stop command'. When I restarted netbeans, and started the database from netbeans, the 'stop' command was greyed out. I than went to Computer Management's Services to stop MySQL. I re-started netbeans, this time I am not even able to startup my SQL from netbeans, I am not sure what is wrong. My 'Admin Properties' settings for the 'MySQL Server Properties' dialog box are as follow:


Path/URL to admin tool: C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqladmin.exe

Path to start command: C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld.exe

Path to stop command: C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqladmin.exe

Arguments: -u root stop


I understand I have selected the same option for both 'Path/URL to admin tool' and 'Path to stop command', the path and file mentioned in the instructions are not available on my system, I suspect the version of mysql on which the instructions are based on is an older version. My version is as follow:

MySQLServer 5.5
MySQL WorkBench 5.2 CE.


I hope someone can advise. Thanks.
K. Tsang
Bartender

Joined: Sep 13, 2007
Posts: 2247
    
    7

Base on the website, it is indeed possible to start/stop MySQL inside Netbeans.

Have you tested those commands in the command prompt? Did it actually start and stop or access the admin tool?

By the way, if you already have a Windows services for MySQL to auto start when OS boots, then don't bother with the Netbeans config. Just use it for JDBC connections.


K. Tsang JavaRanch SCJP5 SCJD/OCM-JD OCPJP7 OCPWCD5
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Issues with registering MySQL to Netbeans
 
Similar Threads
The APR based Apache Tomcat Native library which allows optimal performance in production environmen
Has anybody successfully run the Virtual Trainer application in "JSF Complete Reference"?
Communication with wampserver and netbeans 7.0.1
NetBeans IDE 7.2 Output Message interpretation
I need help putting the /bin of my java directory