Andre Matos wrote:

Is it possible to send a already hashed password on mysql_connect? Usually
when I use mysql_connect (host, user, password), for example
mysql_connect("myhostaddres", "userabc", "12345"), I use a text password. I
tried to hash a password and then sent it but my connection failed.
Is this possible? Any Ideas?

You don't really need to have an encrypted connection to MySQL unless your webserver and MySQL server are on different machines *and* those machines are not behind the same switch/firewall/router/etc. Otherwise, I guess you could create an IPSec (or maybe an SSH) tunnel to the other machine and redirect it to a local port.
As far as I can tell, there's no way to create a secure MySQL connection via PHP...

   Bruno Ferreira
[This E-mail scanned for viruses by Declude Virus]

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to