MySQL Forums
Forum List  »  Install & Repo

Re: How to remove mySQL completely?
Posted by: Bob Field
Date: March 08, 2006 09:46AM

Remove everything from the mysql/data directory and run mysql_install_db and you will have the original default grant tables with no passwords set. Passwords are stored in the user table of the mysql database as a one-way encrypted hash value. If you later forget the password you can start mysqld with --skip-grant-tables and then get in and reset the password. After you made changes to the mysql.user table, did you remember to do 'flush privileges' ?

Options: ReplyQuote


Subject
Written By
Posted
Re: How to remove mySQL completely?
March 08, 2006 09:46AM


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.