ID: 39699 User updated by: jeffiel at 9star dot com Reported By: jeffiel at 9star dot com -Status: Feedback +Status: Open Bug Type: MySQL related Operating System: Linux PHP Version: 5.2.0 Assigned To: georg New Comment:
Yes. The mysql api doesn't provide any way to specify the cert, key and ca file, so I'm not sure how this could possibly work. Previous Comments: ------------------------------------------------------------------------ [2006-12-01 15:41:24] [EMAIL PROTECTED] Is your client & server compiled with SSL support? ------------------------------------------------------------------------ [2006-12-01 11:25:02] [EMAIL PROTECTED] Assigned to the maintainer. ------------------------------------------------------------------------ [2006-12-01 09:25:58] jeffiel at 9star dot com Description: ------------ MYSQL_CLIENT_SSL doesn't seem to be supported for mysql_connect Reproduce code: --------------- mysql_connect("host:3306", "user", "pass", false, MYSQL_CLIENT_SSL); Expected result: ---------------- connection to the database Actual result: -------------- hangs. Note, the server is probably waiting for the client to present a cert, but no opportunity exists to specify the cert. using strace, /etc/my.cnf is not read. Underlying mysql lib is 5.0.22. Note Bug #21981 is not a dup. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39699&edit=1