#19408 [NEW]: Can't connect to ODBC DSN
| From: | shuklasanjeev at yahoo dot com | Date: | Sun, 15 Sep 2002 00:37:46 +0000 |
| Subject: | #19408 [NEW]: Can't connect to ODBC DSN | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-19369@lists.php.net to get a copy of this message | ||
From: shuklasanjeev@yahoo.com
Operating system: Windows 2000 Advance Server SP2
PHP version: 4.2.3
PHP Bug Type: ODBC related
Bug description: Can't connect to ODBC DSN
I recently installed php4.2.3 on windows 2000 Advance server SP2.
When I tried to execute the following script:
===========
<?php
$conn = odbc_connect('tlgdevpnr','tlguser','tlguser123');
?>
===========
I received following error:
===========
Warning: SQL error: [Microsoft][ODBC Driver Manager] Data source name
not found and no default driver specified, SQL state IM002 in SQLConnect
in D:\wwwcode\php_codes\odbc_test.php on line 2
===========
The DSN "tlgdevpnr" is System DSN and I am using it with ASP,ColdFusion
and other Applications.
Please let me know if you have any clue.
Thanks.
--
Edit bug report at http://bugs.php.net/?id=19408&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19408&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19408&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19408&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19408&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19408&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19408&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19408&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19408&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19408&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19408&r=globals