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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 09:01:27 2024 UTC