This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Oracle/OAS and the fly likes Could not start the service mysql Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Could not start the service mysql" Watch "Could not start the service mysql" New topic
Author

Could not start the service mysql

pramod talekar
Ranch Hand

Joined: Apr 26, 2010
Posts: 316

Hello

I'm trying to install Mysql 5.5 on win7 x64

While installing, when I click on Execute which is perhaps the last step of configuration of mysql instance, I get the message Could not start the service MySQL

I went to control panel and tried manually starting the service but it throws error 1067.

Please advise.


Thanks,
Pramod
pramod talekar
Ranch Hand

Joined: Apr 26, 2010
Posts: 316

Got the solution guys !!!

While the above problem is different and all we need to do is just stop the service before reinstalling the mysql instance.

The below solution worked for me as I was getting error 1045 while installing MySQL:-
While trying to install MySQL instance, I deleted almost everything I could see e.g. a folder in Program files, searched any entry starting with MySQL in the Search option and deleted them as much as possible. Also cleared the registry and deleted MySQL service again n again. All this didn't work.This happened for weeks.

And then I checked the machine of my friend who successfully installed it and found out that there is a folder called Application Data in Documents & settings/All users and this folder contained MySQL folder with two previously installed instances.
Deleted them and now I'm a happy user
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Could not start the service mysql
 
Similar Threads
Configuring MySQL Server5
start and stop mysql server from eclipse
making tomcat service depend on mySQL service
Installing mysql on Linux
Error 1045 while installing MySQL