MySQL Forums
Forum List  »  Install & Repo

Re: Stuck installing MySQL on root password
Posted by: Barry Galbraith
Date: February 26, 2016 08:45PM

What OS are you using, Linux, Mac or Windows?

The password is stored in mysql database.
Uninstalling mysql doesn't remove the database, re-installing doesn't write over an existing database, so it remembers any root password set last time.
So, to start from scratch, you'll need to unistall MySQL, AND remove the /data folder containing the mysql database.

Good luck,
Barry.

Options: ReplyQuote


Subject
Written By
Posted
Re: Stuck installing MySQL on root password
February 26, 2016 08:45PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.