Help for this page

Select Code to Download


  1. or download this
    my $schema = MyTest::Schema->connect(
      'DBI:mysql:my_db:192.XXX.XXX.25',
      'XX',
      'XX'
    );
    
  2. or download this
    my $schema = MyTest::Schema->connect(
     sub {
    ...
      $dbh->{Active} = 1;
      return $dbh;
     }