#39699 [Opn->Asn]: MYSQL_CLIENT_SSL does not work in mysql_connect
| From: | tony2001@php.net | Date: | Fri, 01 Dec 2006 22:50:16 +0000 |
| Subject: | #39699 [Opn->Asn]: MYSQL_CLIENT_SSL does not work in mysql_connect | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-105766@lists.php.net to get a copy of this message | ||
ID: 39699
Updated by: tony2001@php.net
Reported By: jeffiel at 9star dot com
-Status: Open
+Status: Assigned
Bug Type: MySQL related
Operating System: Linux
PHP Version: 5.2.0
Assigned To: georg
Previous Comments:
------------------------------------------------------------------------
[2006-12-01 22:00:41] jeffiel at 9star dot com
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.
------------------------------------------------------------------------
[2006-12-01 15:41:24] iliaa@php.net
Is your client & server compiled with SSL support?
------------------------------------------------------------------------
[2006-12-01 11:25:02] tony2001@php.net
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