install_driver(mysql) failed: Can't locate loadable object for module DBD::mysql in @INC (@INC contains: C:/Perl/site/lib C:/Perl/lib .) at (eval 4) line 3
Compilation failed in require at (eval 4) line 3.
Perhaps a module that DBD::mysql requires hasn't been fully installed
####
ppm install DBI::mysql
####
use strict;
use warnings;
use DBI;
my $dbname="test_development";
my $dbh=DBI->connect("DBI:mysql:$dbname","root") || die("connection failure");
my $sth=$dbh->prepare("select * from tables");
$sth->execute();
while(my @row=$sth->fetchrow_array()){
print "id".$row[0];
print "name".$row[1];
print "age".$row[2];
}