Help for this page

Select Code to Download


  1. or download this
    my $db = 'ram';
    my $host = ''; # hostname
    my $port = ''; # portnumber
    $dbh = DBI->connect("DBI:mysql:database=$db;host=$host;port=$port",'ro
    +ot','root') or die "Connection Error: $DBI::errstr\n";