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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 21:01:29 2024 UTC