php.net |  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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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:
===========
<?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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-14 20:29 UTC] kalowsky@php.net
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.  
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 15:01:34 2025 UTC