[nycphp-talk] mysql ssl/php client
Hans Zaunere
hans at nyphp.org
Sun Nov 9 13:24:04 EST 2003
jon baer wrote:
> for a long time ive been tunneling mysql connections + finally looked into
> an ssl connection to a box @ home and came across the conlusion that you
> can't use the ssl php connection (like with using mysql client w/ --ssl
> flag) without using the php5 mysqli functions (specifically
> mysqli_real_connect, its c counterpart) ...
>
> from the docs the only thing im trying to figure out is if you need to
> connect and then set ssl via mysqli_set_ssl on the connection itself?
Hmm, that's an interesting point. While the mysql_connect() docs at php.net don't mention MYSQL_CLIENT_SSL as client flag, I think it is valid (in very recent versions of PHP). Jon, I'd be interested to know if you're able to get it to work, and if so, it's a documentation bug at php.net.
H
More information about the talk
mailing list