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 
  

CRUD Tutorial - NetBean MySql Shutdown Properties

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



Joined: 31 Jan 2009
Posts: 6

PostPosted: Sat Jan 31, 2009 6:17 pm    Post subject: CRUD Tutorial - NetBean MySql Shutdown Properties Reply with quote

Unable to shutdown MySql v 5.0 in NetBeans v6.5 on XP.

In the NetBean -> Services -> Databases -> MySql Server -> Properties
arguments given have been

1. -u root -p shutdown

2. -u root stop

3. -u root -p stop

4. -u root shutdown

All of which have not stopped the server.

Also tried passing in the root user password

5. -u root -pRootPassword stop

This sees the IDE go into a infinite shutdown process.

The tutorials on configuring MySql for NetBeans have also been considered with no success
http://www.netbeans.org/kb/docs/php/wish-list-lesson1.html

Screen shots are attached.

NOTE: When "-u root stop" arguments are given they generate error message as per attached img "NetBeans [u root stop]". This may give better insight!

Any pointers or suggested articles would greatly appreciated.


[/img]



NetBeans MySql Stop.JPG
 Description:
NetBean MySql Stop Function
 Filesize:  67.68 KB
 Viewed:  1676 Time(s)

NetBeans MySql Stop.JPG



NetBeans MySql Properties.JPG
 Description:
NetBean MySql Properties
 Filesize:  89.72 KB
 Viewed:  1676 Time(s)

NetBeans MySql Properties.JPG



NetBeans [-u root stop].JPG
 Description:
NetBeans [u root stop]
 Filesize:  99.1 KB
 Viewed:  1676 Time(s)

NetBeans [-u root stop].JPG


Back to top
View user's profile Send private message
bstack



Joined: 30 Jan 2009
Posts: 8

PostPosted: Sat Jan 31, 2009 7:08 pm    Post subject: Reply with quote

try it from the xp command prompt and see what messages you get.

start->run->cmd

> mysqladmin -u root --password=PASSWD shutdown
Back to top
View user's profile Send private message
sweeny



Joined: 31 Jan 2009
Posts: 6

PostPosted: Mon Feb 02, 2009 12:10 am    Post subject: Fix Found Reply with quote

Thank you for the prompt reply.

A fix has been found -

1.Adjust the localhost firewall to allow TCP Ports 3306 and 10061.

2.The arguments required when using root user with a password are
"-u root -pRootPassword shutdown" and this is without the quotes and without any trailing space between "-p" and the root password.

3.Right click on MySql service in NetBeans, select "stop" and it does!

There is a good reference article out there on the MySql developer site, which offers insight into how to install this server as a windows service, could be worth checking out.

http://mirror.it.swin.edu.au/mysql/doc/refman/5.0/en/wind
Back to top
View user's profile Send private message
65dos



Joined: 09 May 2009
Posts: 1

PostPosted: Sat May 09, 2009 5:50 pm    Post subject: . Reply with quote

how did you fix that problem? because I still cannot stop mysql server from netbeans, btw, i tried your solution, although I'm not sure what do you mean with "1.Adjust the localhost firewall to allow TCP Ports 3306 and 10061.

im using windows vista.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP 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