Sorry I wasn't clear about that. The "ODBC" user has no password, and I have tried a connection strings like
$::dbh = DBI->connect ("dbi:ODBC:$dsn", "ODBC");
$::dbh = DBI->connect ("dbi:ODBC:$dsn", "ODBC", "");
$::dbh = DBI->connect ("dbi:ODBC:$dsn", "ODBC", NULL);
My impression was that if the user "ODBC" is set in the DSN, which it is, then it is not required in the connection string. If it is required, then maybe my problem is that I'm not sure how to enter the password when no password is required. Maybe I should try assigning the ODBC user a password and then I would know the syntax.
Thanks for replying!
Stephen
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.