MySQL Forums
Forum List  »  Security

Re: Uncovering user passwords
Posted by: Darren Cassar
Date: January 09, 2009 06:15AM

Uncovering a password is always a HUGE security flaw and should never be available.
In MySQL you can reset a user's password very easily in quite a few ways, amongst others, login as root on any (free) UI Admin tool like MySQL administrator or Toad, find user's aministration and reset the password from there, otherwise you can simply use the good old CLI

> mysql -u root -p
--- enter password here ---
> USER mysql;
> UPDATE user SET Password=PASSWORD('newpassword') where User='username';
> FLUSH PRIVILEGES;
> EXIT

> mysql -u username - p
---- enter new password here ----

Congrats!

Options: ReplyQuote


Subject
Views
Written By
Posted
5107
January 04, 2008 01:36PM
3222
April 22, 2008 10:43AM
Re: Uncovering user passwords
3279
January 09, 2009 06:15AM


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.