On Tuesday 17 February 2009, Gordon Messmer wrote:
Gene Heskett wrote:
> The bottom line would appear to be, if you don't have any databases to
> save, then yum remove *mysql*, updatedb locate and nuke ANYTHING left
> behind, then re-install. If you have a database to save, well, rotsa
> ruck. Hope you have backups.
It's not quite that bad. You can reset by simply removing the contents
of /var/lib/mysql and starting the mysql service. If you have a
database to save, you can use --skip-grant-tables and resetting any
passwords that you require.
I am glad that it worked for you. I did that 4 times, and each time the
restart was foiled by selinux. Only a total, complete nuke job, cleaning up
all the leftovers with rm, succeeded in making a fresh install work.
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Most people can't understand how others can blow their noses differently
than they do.
-- Turgenev