Quantcast
Channel: MySQL Forums - Install & Repo
Viewing all articles
Browse latest Browse all 7239

Re-install MySQL 5.1 after having lost root password (8 replies)

$
0
0
Dear All,

I hope this is not to stupid a question, but I'm not able to find any working solution to it. Been searching and trying now for several days without a good result.

For testing purposes I installed MySQL 5.1 on a computer, but unfortunately forgot the root password. I know, extremely stupid.

I thought that after stopping its service, uninstalling MySQL and then removing its folder from program files, all would be OK again. Unfortunately I was wrong.

During the re-installation process, at the point where you have to enter the root password, it still asks for the old root password. It's still there somehow.

Searching I found below URL procedure.

http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html

Googling for it I found several more possible options, but all of them based on the above URL.

These ones though do not work for me. What happens is, as soon as I enter the command in a DOS box and press enter, the cursor will stay blinking forever. It never finishes.

Looking under services, the MySQL service is also never restarted, which if I understand correctly is supposed to happen. This is probably also the reason why the cursor stays blinking forever as its waiting for the MySQL service to restart.

I'm using windows xp sp3 English in combination with MySQL 5.1.

My question.

-Does anybody have any idea, short of creating a completely new windows installation, how I could solve this problem?
-Is there a way to remove the initially set root password?

If the old databases created during testing are lost in the process, that's not a problem at all. As long as I can make a clean MySQL installation again.

Thanks for any input on this for me very frustrating problem.

Best regards,

Viewing all articles
Browse latest Browse all 7239

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>