mysql>
mysql>
mysql> SELECT PASSWORD('MyPassword');
+-------------------------------------------+
| PASSWORD('MyPassword') |
+-------------------------------------------+
| *ACE88B25517D0F22E5C3C643944B027D56345D2D |
+-------------------------------------------+
1 row in set (0.00 sec)
mysql>