note 28204 rejected from function.mysql-connect by nicos

From: Date: Mon, 06 Jan 2003 13:47:18 +0000
Subject: note 28204 rejected from function.mysql-connect by nicos
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-41725@lists.php.net to get a copy of this message
how can i connect to mysql via SSL connection using mysql_connect() in php 4.3.0? i have generated all the certificates necessary and i was able to connect to mysql server via the bin/mysql command line options (below). bin/mysql -h localhost --ssl-cert=host.crt --ssl-key=host.key -u rootssl -p however, using mysql_connect('localhost', 'rootssl', 'xxxxx', false, MYSQL_CLIENT_SSL); as stated in the documentation, the function returns "SSL connection error". am i missing sth? pls help.

« previous php.notes (#41725) next »