note 28204 added to function.mysql-connect
| From: | ivan at rack1 dot php dot net | Date: | Mon, 06 Jan 2003 07:17:33 +0000 |
| Subject: | note 28204 added to function.mysql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-41708@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.
--
http://www.php.net/manual/en/function.mysql-connect.php
http://master.php.net/manage/user-notes.php?action=edit+28204
http://master.php.net/manage/user-notes.php?action=delete+28204
http://master.php.net/manage/user-notes.php?action=reject+28204