#19408 [Opn->Bgs]: Can't connect to ODBC DSN

From: Date: Sun, 15 Sep 2002 01:29:43 +0000
Subject: #19408 [Opn->Bgs]: Can't connect to ODBC DSN
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19373@lists.php.net to get a copy of this message
ID: 19408 Updated by: kalowsky@php.net Reported By: shuklasanjeev@yahoo.com -Status: Open +Status: Bogus Bug Type: ODBC related Operating System: Windows 2000 Advance Server SP2 PHP Version: 4.2.3 New Comment: Sorry, but the bug system is not the appropriate forum for asking support questions. Your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php Thank you for your interest in PHP. This isn't a bug in PHP, this is a mis-configuration on your end. Previous Comments: ------------------------------------------------------------------------ [2002-09-14 19:37:46] shuklasanjeev@yahoo.com 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 this bug report at http://bugs.php.net/?id=19408&edit=1

« previous php.bugs (#19373) next »