Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Problem connecting with SSL to mySQL database

by ibm1620 (Hermit)
on Apr 10, 2019 at 17:06 UTC ( [id://1232413]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    my $pass = '********';
    my $conn = 'DBI:mysql:database=dwcontact;host=192.168.200.39;port=3402
    +;mysql_ssl=1';
    my $dbh  = DBI->connect($conn, $user, $pass);
    
  2. or download this
    #!/usr/bin/env perl
    use warnings;
    ...
    my $pass = '********';
    my $conn = 'DBI:mysql:database=dwcontact;host=192.168.200.39;port=3402
    +;mysql_ssl=1';
    my $dbh  = DBI->connect($conn, $user, $pass);
    
  3. or download this
    DBI connect('database=dwcontact;host=192.168.200.39;port=3402;mysql_ss
    +l=1','charrison',...) failed: SSL connection error: self signed certi
    +ficate in certificate chain at ...
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1232413]
Approved by haukex
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2024-04-25 15:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found