ID: 39699 User updated by: jeffiel at 9star dot com Reported By: jeffiel at 9star dot com Status: Bogus Bug Type: MySQL related Operating System: Linux PHP Version: 5.2.0 New Comment:
As I noted originally, it doesn't seem to be a dup of 21981. 1. I am compiling on linux against MySql 5.0x, not windows on MySql 3x (which didn't support ssl) 2. MYSQL_CLIENT_SSL is defined, just not working However, if the mysql_connect() function is not intended to support SSL, then the resolution of 21981 would be correct (remove it from documentation) however it has not occurred 3 + years later. Previous Comments: ------------------------------------------------------------------------ [2006-12-04 07:29:33] [EMAIL PROTECTED] see http://bugs.php.net/bug.php?id=21981 ------------------------------------------------------------------------ [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] [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
