MySQL Forums
Forum List  »  Perl

DBI/ssl help
Posted by: John Burk
Date: March 23, 2006 08:16PM

I'm unable to connect to a remote MySQL server via the perl-DBD driver using SSL.

my dsn looks like:

'DBI:mysql:host=xx.xx.xx.xx;
mysql_ssl=1;
mysql_ssl_client_key=/var/lib/ssl/client-key.pem;
mysql_ssl_client_cert=/var/lib/ssl/client-cert.pem;
mysql_ssl_ca_file=/var/lib/ssl/cacert.pem'

I know the certificates work, because I can connect using them via the cmd-line client and providing '--ssl=1 --ssl_ca=<filename>, etc...

But when I try to connect via DBI->connect, the connection just hangs.

Anything obvious in the dsn?

perl v5.8.6
DBD:mysql v2.9007
MySQL v 5.19
FC4, kernel version 2.6.14-1.1653_FC4smp


john burk
jburk@itiva.com

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.