Can I use PHP with SSL to connect to mySQL?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I see that mySQL has SSL support:
http://www.mysql.com/doc/en/Secure_connections.html

And PHP has some SSL support, but do the mysql() functions work
transparently with SSL? It seems there would have to be a flag for this
mysql_connect() that turned on SSL.
http://us4.php.net/manual/en/function.mysql-connect.php

Basically, I have a little box running PHP as a cgi and want it to connect
securely (SSL) to a server running mySQL. Is this easily do-able? The other
thing is that I fear the mySQL SSL method is going to be overly cumbersome
with the key exchanges. I just want a simple encrypted connection.

Daevid.

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux