This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Issues with registering MySQL to Netbeans

 
John Paterson
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3397
13
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic