FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Problem stopping MySQL

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
comfy



Joined: 31 Jan 2010
Posts: 5

PostPosted: Sun Jan 31, 2010 1:35 pm    Post subject: Problem stopping MySQL Reply with quote

Hello,

Ive been going through the tutorials for setting up MySQL in netbeans but have ran into a problem stopping MySQL from within netbeans.

I think I've got the correct start/stop comands in the admin prperties:
Start: Path to mysql\bin\mysqld.exe --console
Stop: Path to mysql\bin\mysqladmin -u root shutdown

I'm not using any passwords at this time.

I can start mysql with no problem (using the start right click option),the server starts no problem and get the correct information in the output window and it connects. I can also stop mysql (using the stop right click option) and I also get the correct shutdown information displayed in the output window and it disconnects.

The problem is, if I start mysql again (in the same netbeans session), I can no longer use stop, that option is now greyed out. It seems that I can only use stop once, and then its unavailable. The only way to stop mysql now is from the windows command prompt, or if I restart netbeans. If I restart netbeans I can use stop again... once, and then it greys out again, even after I start mysql again.

I'm using netbeans 6.8 on XP and mysql is working fine from the command line. This isnt a big problem, but I'm a bit confused to why this is happening. Any help on this would be great.

Thanks in advance.
Back to top
View user's profile Send private message
mcolbert



Joined: 31 Jan 2010
Posts: 1

PostPosted: Sun Jan 31, 2010 5:31 pm    Post subject: Reply with quote

I have exactly the same problems as described above.
I did see this question asked earlier but the solution did not work for me.
Back to top
View user's profile Send private message
vishal_cser



Joined: 09 Feb 2010
Posts: 1

PostPosted: Tue Feb 09, 2010 10:33 am    Post subject: Same problem with me. Reply with quote

I am also getting the same problem while stopping the MySql instance from NetBeans 6.8.

I am using MySql version 5.1 along on Ubuntu 8.04 Platform in Java Platform 7.

I am not able to understand that while registering MySql from NetBeans, what are the proper values of path and arguments in the admin properties. I am also not able to find the home directory of MySql.

Kindly help as soon as possible.

Thanks all.

_________________
Vishal Srivastava,
Java Consultant,
SQL STAR International Ltd.,
New Delhi
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB