php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10316 error in connecting to MS access database
Submitted: 2001-04-13 03:03 UTC Modified: 2001-05-07 11:04 UTC
From: thomasj at cs dot uidaho dot edu Assigned:
Status: Closed Package: ODBC related
PHP Version: 4.0.4pl1 OS: Win 2000
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: thomasj at cs dot uidaho dot edu
New email:
PHP Version: OS:

 

 [2001-04-13 03:03 UTC] thomasj at cs dot uidaho dot edu
I have installed PHP 4.0 and I try to connect to an MS Access database

I get the following warning:

Warning: SQL error: , SQL state 00000 in SQLConnect in c:\inetpub\wwwroot\Login.php on line 6

line 6 contains
$cnx = odbc_connect( 'CID' , '', '' );

I have checked that the DSN CID does exists..

Some body please do help me..

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-07 11:04 UTC] kalowsky@php.net
check that you don't need a username and/or password.  this really isn't a bug, this is a misconfiguration issue.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 08:01:27 2025 UTC