mysql>
mysql> SELECT SHA('MyPassword');
+------------------------------------------+
| SHA('MyPassword') |
+------------------------------------------+
| daa1f31819ed4928fd00e986e6bda6dab6b177dc |
+------------------------------------------+
1 row in set (0.00 sec)
mysql>