PDA

View Full Version : connecting to MYSQL with PERL & SSL


ynotlim
07-10-2008, 10:22 PM
hello,

How do I connect to mysql using DBI & having SSL?


$dbh = DBI->connect('DBI:mysql:test:host;mysql_compression=1;mysql_ssl=1','user','password')
or warn "Unable to open: $DBI::errst \n";


Is this correct?

thanks

PS. My apache server is already setup for SSL/HTTPS