my $driver = "DBI:mysql:$db:$host"; my $dbh = DBI -> connect($driver,$user,$pass) or die "Database connection not made: $DBI::errstr";