Sample Header Ad - 728x90

Encrypt a password the same way mysql does

18 votes
9 answers
23548 views
I've created a user ... but forgotten the password
mysql> create user 'blayo'@'%' identified by 'right';
Which Linux command line tool can **encrypt the password the same way mysql 5.5 does ?**
mysql> select Password,User from mysql.user
------------------------------------------+-------+
*920018161824B14A1067A69626595E68CB8284CB | blayo |
...to be sure I use the right one
$ tool right
*920018161824B14A1067A69626595E68CB8284CB
Asked by Philippe Blayo (2009 rep)
Aug 6, 2012, 08:07 PM
Last activity: Jul 7, 2025, 07:30 PM