How to create Fresh mysql installation


I have mysql 5.0 server already installed in my server long back.It has schema and tables.I do not remember the root pass and if i reset the pass it says localhost is not allowed to access.I dont remember what i have done i need to remove this database completely and create fresh install.
how do i do it.
Who is Participating?
Steve BinkConnect With a Mentor Commented:
You really don't need to do a full installation unless you want to upgrade your current version.  If you're fine with this version, the easiest remedy is to reset the password properly.  See this link, and be sure to read through the whole article, as well the user comments.  They address the access denied issue you referenced:

If you're set on reinstalling, you still do not need to worry too much about a "full uninstall".  If you turn off the service, blow out the MySQL directory (bin, data, and whatever directory holds your cnf/ini files), reinstalling from the normal package to the same location should be just fine.  MySQL does not tend to leave odd things laying about, and if anything were left over, it would be overwritten by the new installation.
Sam2009Author Commented:
I need a 100% uninstall
Sam2009Author Commented:
Perfect ,well commented
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.