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 ...