PEAR with ODBC
| From: | Glemnitz, Wolfgang | Date: | Wed, 26 Feb 2003 11:00:10 +0000 |
| Subject: | PEAR with ODBC | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-3968@lists.php.net to get a copy of this message | ||
Hi,
my system: W2k SP3, Apache 1.3.27, PHP 4.3.1, PEAR last release, SAP DB 7.4,
SAP ODBC-Treiber 7.04.03 vom 2003-01-29
with PHP+ODBC is the account to SAPDB no problem:
$id = odbc_pconnect($dsn, $user, $pass)
// museum, gast, gast
with PHP+PEAR+ODBC it does not go at all, all the same which combination in
the DSN-String I takes ,
for example:
$dsn = "$phptype://$user:$pass@$host/$db_name";
or
$dsn = "$phptype($db_name, $user, $pass)";
the error comes again and again:
[nativecode=IM002 [Microsoft][ODBC Driver Manager] Der
Datenquellenname wurde nicht gefunden, und es wurde
kein Standardtreiber angegeben] **
odbc://gast:gast@pc1234-glemnitz/museum
PHP find the Datenquellennamen(museum), PEAR not.
Standard driver would have to be the ODBC entry nevertheless?
Who brought the combination PEAR+ODBC already times to running?
Or can reference supply itself with, how I could solve or encircle the
problem?
Thanks,
Wolfgang