Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^4: Problem connecting with SSL to mySQL database

by ibm1620 (Monk)
on Apr 11, 2019 at 13:39 UTC ( #1232439=note: print w/replies, xml ) Need Help??


in reply to Re^3: Problem connecting with SSL to mySQL database
in thread Problem connecting with SSL to mySQL database

Hmm..

$conn's just a string, in either case. (Dumper confirms this.)

  • Comment on Re^4: Problem connecting with SSL to mySQL database

Replies are listed 'Best First'.
Re^5: Problem connecting with SSL to mySQL database
by dorko (Prior) on Apr 11, 2019 at 16:33 UTC
    You're absolutely right. Try Dumper-ing $dbh after the successful connection - there might be a setting in there for mysql_ssl_ca_file, mysql_ssl_ca_path or mysql_ssl_verify_server_cert.

    ("mysql_ssl_verify_server_cert = 0" sounds promising.)

    Cheers,

    Brent

    -- Yeah, I'm a Delt.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1232439]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2020-09-22 22:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (130 votes). Check out past polls.

    Notices?