Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
And I get this back when I run it;use DBI; $dsn = 'dbi::Sybase:MY_Sybase_DB'; $user = 'db_analyst'; $password = 'db_pass'; $dbh = DBI->connect($dsn,$user, $passwd);
Any reason why this is happening? And how can I connect to my Sybase db successfully?Can't connect to data source My_Sybase_db, no database driver specified and DBI_DSN env var not se t at U:\scripts\dbi_test1.pl line 5
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Connecting to Sybase DB using DBI module
by VSarkiss (Monsignor) on Jun 09, 2004 at 15:21 UTC | |
|
Re: Connecting to Sybase DB using DBI module
by derby (Abbot) on Jun 09, 2004 at 15:18 UTC | |
|
Re: Connecting to Sybase DB using DBI module
by mpeppler (Vicar) on Jun 09, 2004 at 19:49 UTC | |
by blackadder (Hermit) on Jun 10, 2004 at 09:28 UTC | |
by mpeppler (Vicar) on Jun 10, 2004 at 11:41 UTC |