in reply to DBD::ODBC question

my $dsn = 'DBI:' . $dbv->{driver}; $dbh = DBI->connect($dsn, $dbv->{user}, $dbv->{password}, { RaiseError => 1, AutoCommit => 1 });
The above is the code snippet from my DBI wrapper that handles DBD::ODBC, where the driver relates to the name in your ODBC setup. In my case it's under the System DSN tab, but it could easily be under the User DSN tab, where you enter the data source and database. In this case $dbv->{driver} is set to 'ODBC:TestDB'. It may be that you ODBC setting and the connection string you are passing are conflicting.

--
Barbie | Birmingham Perl Mongers | http://birmingham.pm.org/