Does mysql_connect() perform password encryption?
| From: | alex | Date: | Fri, 10 May 2002 22:25:46 +0000 |
| Subject: | Does mysql_connect() perform password encryption? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-19114@lists.php.net to get a copy of this message | ||
Hello, Gurus,
Sorry for this type of question but I can't find this info
neither in MySQL manual, nor in PHP docs.
To my understanding, when I call mysql_connect() and provide password
php interpreter does password encryption, then opens socket to remote
mysqld daemon and sends "him" encrypted password over network.
There it is compared with the same encrypted password stored in mysql.user table.
Now two questions:
1. Am I right?
2. Where it is described?
Thank you in advance,
Alexander Tarkhov,
MIPT student, Moscow