Re: How to store password for mysql_connect()
MySQL stores an encrypted password in user table.
When the client (php) connects to server the server sends a random key. Now client encrypts the plain password from mysql_connect using the key and sends it to the server. So you will never see the plain password or the same encrypted password when sniffing traffic.
Subject
Written By
Posted
Re: How to store password for mysql_connect()
April 19, 2006 10:10PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.