Hi,

Could anyone please show me an example of the connect syntax necessary for a
connecting using an ODBC driver manager.

1. Is this correct:
$dbh=DBI->connect("DBI:ODBC:sql_lite",''",''");

where sql_lite is defined in $ODBCINI:

[ODBC Data Sources]
sql_lite = OpenLink SQL Server Lite Driver
User =     me
Password = myPassword
etc.
etc.

2. Do I have to explicitly define the username and password in the call to
connect() if they are defined in  $ODBCINI?

TIA,
Pete



Peter Levine
415-286-5716 - 345 California
[EMAIL PROTECTED]


Reply via email to