Solved

How to create Fresh mysql installation

Posted on 2011-03-13
3
377 Views
Last Modified: 2012-05-11
Greetings,

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 before.now i need to remove this database completely and create fresh install.
how do i do it.
regards
0
Comment
Question by:Sam2009
  • 2
3 Comments
 

Author Comment

by:Sam2009
ID: 35121654
I need a 100% uninstall
0
 
LVL 50

Accepted Solution

by:
Steve Bink earned 500 total points
ID: 35125246
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:

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

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.
0
 

Author Closing Comment

by:Sam2009
ID: 35125963
Perfect ,well commented
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to shrink a transaction log file down to a reasonable size.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question