Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Problem connecting with SSL to mySQL database

by ibm1620 (Monk)
on Apr 10, 2019 at 17:06 UTC ( #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
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? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2021-02-27 04:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?