rasmusbg -> tjoo - læs:
http://www.mysql.com/doc/en/Encryption_functions.html---
PASSWORD(str)
OLD_PASSWORD(str)
Calculates a password string from the plaintext password str. This
is the function that is used for encrypting MySQL passwords for
storage in the Password column of the user grant table:
mysql> SELECT PASSWORD('badpwd');
-> '7f84554057dd964b'
PASSWORD() encryption is irreversible. PASSWORD() does not perform
password encryption in the same way that Unix passwords are encrypted.
See ENCRYPT(). Note: The PASSWORD() function is used by the
authentication system in MySQL Server, you should NOT use it in your
own applications. For that purpose, use MD5() or SHA1() instead. Also
see RFC-2195 for more information about handling passwords and
authentication securely in your application.
---
Uddrag: "You should NOT use it in your own applications."
Desuden så ville jeg ikke bruger i databasen, for sæt man udskiftede den på et tidspunkt...
Morten