in reply to Using Perl to connect using trusted connection
2) Specify the username and password in the DBI connect() call.
my $dbh = DBI->connect("dbi:ODBC:$dsnname", $username, $password); [download]