The errors I received were;use strict; use warnings 'all'; use Win32; use Win32::ODBC; my $dsn = "LNB_HHH_APP"; if (!(my $db = new Win32::ODBC($dsn))) { print "\nError connecting to $dsn\n\n"; print "\nError: " . Win32::ODBC::Error() . "\n"; exit; }
Can someone please shed some light on to this and why am I not able to connect successfully to the Sybase database? Is it to do with credentials? And How can I incorporate the user name and password to connect to the database within my script? Or do I need different Perl module for Sybase or another driver?Error connecting to LNB_HHH_APP Error: [911] [] "[MERANT][ODBC Sybase Wire Protocol driver]Insufficien +t information to connect to the data source."
In reply to Connecting to Sybase using Win32::ODBC by blackadder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |