Help for this page

Select Code to Download


  1. or download this
    use Net::OpenSSH;
    use DBI;
    ...
    print Dumper $pid;
    my $dsn = "DBI:mysql:database=calendar;mysql_socket=$socket";
    my $dbh = DBI->connect($dsn, 'user', 'pass');
    
  2. or download this
    $VAR1 = \*{'Net::OpenSSH::$win'};
    $VAR1 = 12877;
    DBI connect('database=calendar;mysql_socket=GLOB(0x20f38e0)','user',..
    +.) failed: Can't connect to local MySQL server through socket 'GLOB(0
    +x20f38e0)' (2) at t/XMLRPC.t line 27.
       at /usr/lib/x86_64-linux-gnu/perl5/5.20/DBI.pm line 685.