|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19408 Can't connect to ODBC DSN
Submitted: 2002-09-14 19:37 UTC Modified: 2002-09-14 20:29 UTC
From: shuklasanjeev at yahoo dot com Assigned:
Status: Not a bug Package: ODBC related
PHP Version: 4.2.3 OS: Windows 2000 Advance Server SP2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: shuklasanjeev at yahoo dot com
New email:
PHP Version: OS:


 [2002-09-14 19:37 UTC] shuklasanjeev at yahoo dot com
I recently installed php4.2.3 on windows 2000 Advance server SP2.
When I tried to execute the following script:
    $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.



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-14 20:29 UTC]
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

Thank you for your interest in PHP.

This isn't a bug in PHP, this is a mis-configuration on your end.  
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue May 24 09:05:44 2022 UTC