Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-28-2007, 09:51 AM
Member
 
Join Date: Jun 2007
Posts: 6
javagal is on a distinguished road
MySql in NetBeans 5.0
I have installed Netbeans 5.0 on my PC,
I have installed mysql 5.0 on my PC,
installed a mysql service on pc but this service is not getting started ,
Please help me.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-28-2007, 11:00 AM
JavaBean's Avatar
Moderator
 
Join Date: May 2007
Posts: 1,272
JavaBean is on a distinguished road
As far as i remember, it had an option to install it as a service. You might need to restart to see it started!

If it does not work, then this documentation may help:

MySQL AB :: MySQL 5.0 Reference Manual :: 2.4.8.11 Starting MySQL as a Windows Service
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 06-28-2007, 12:01 PM
Member
 
Join Date: Jun 2007
Posts: 6
javagal is on a distinguished road
Connecting to a MySQL Database in NetBeans IDE

I refered to this manual starting from download and the configuration wizard allow me to install the service.

The last option is to run it by clicking EXECUTE button..and there I got the error. So tried with command prompt ,

" sc query MySQL " shows me that service is available on machine but its stopped.

so tried to start it using command :
"sc start MySQL"

but finally it gave me error

I will copy the exact error once I reach home as trying on my home PC.

Please tell me if some other settings to check..
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 06-28-2007, 01:09 PM
JavaBean's Avatar
Moderator
 
Join Date: May 2007
Posts: 1,272
JavaBean is on a distinguished road
Let us know the error when you reach home. I will look at that manual after i see the error.
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 07-01-2007, 02:26 PM
Member
 
Join Date: Jun 2007
Posts: 6
javagal is on a distinguished road
Hi... Look below...I have copied the results I am getting....
First command is showing that the service is running, so I tried to start the service but
C:\Documents and Settings>sc query MySQL

SERVICE_NAME: MySQL
TYPE : 10 WIN32_OWN_PROCESS
STATE : 1 STOPPED
(NOT_STOPPABLE,NOT_PAUSABLE,IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0


C:\Documents and Settings>sc start MySQL
[SC] StartService FAILED 2:

The system cannot find the file specified.


I also tried to start the service from "(Start > Control Panel > Administrative Tools > Services). " but it gives a error "Could not start the service on local computer,The system cannot find the file specified. "

I am not able to understand this..

Please please help me....
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 07-03-2007, 09:58 AM
JavaBean's Avatar
Moderator
 
Join Date: May 2007
Posts: 1,272
JavaBean is on a distinguished road
Did you be able to solve your problem? As far as i see this is a mysql problem (not related to netbeans). I guess you had some previous installation or installed the service wrongly. (The executable to mysql service seems to be not found.) I think the best way is to try uninstalling previous mysql instances and reinstalling mysql again.
Bookmark Post in Technorati
Reply With Quote
  #7 (permalink)  
Old 07-04-2007, 03:34 PM
Member
 
Join Date: Jun 2007
Posts: 6
javagal is on a distinguished road
yes I agree
yes I agree that its a pure mysql problem.

Yesterday I found that one mysql service is already installed on my compi so

the service for mysql 5.0 is not getting installed.

look at this msg :

"C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld" --install

C:\Documents and Settings\Home>"C:\Program Files\MySQL\MySQL Server 5.0\bin\mysq
ld" --install
The service already exists!
The current server installed: C:/mysql/bin/mysqld-nt.exe


Now I need to figure out, how to uninstall that service..
lets see....
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
help ... JDBC or PHP/MySQL bluebarca Advanced Java 1 11-16-2007 11:05 AM
Mysql Help Sumendra Maharjan Database 1 08-08-2007 02:19 AM
Login with mysql fernando JavaServer Pages (JSP) and JSTL 1 08-07-2007 04:30 PM
JSP and MySQL Ed JavaServer Pages (JSP) and JSTL 2 07-04-2007 06:08 AM
Mysql problem Nick15 Database 2 05-15-2007 06:07 PM


All times are GMT +3. The time now is 07:41 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org