Bug #130 [Com]: PEAR DB ODBC connect string example needed in docs
| From: | mike dot thacker at mac dot com | Date: | Sat, 09 Oct 2004 20:40:57 +0000 |
| Subject: | Bug #130 [Com]: PEAR DB ODBC connect string example needed in docs | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-4947@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=130&edit=1
ID: 130
Comment by: mike dot thacker at mac dot com
Reported By: alan at aardwolfweb dot com
Status: Closed
Type: Bug
Package: Documentation
Operating System: any
PHP Version: Irrelevant
Assigned To: danielc
New Comment:
I'm still getting a connect failure with
creatTables.php. odbc_connect works but i've tried every
permeantation of the dsn connect string to no avail.
I'm using IIS6/win2003server/PHP5.0.1
odbc(access)://admin@/dsn doesn't work
odbc(access)://dsn doesn't work
Previous Comments:
------------------------------------------------------------------------
[2004-02-03 16:21:10] danielc at php dot net
Thanks for your good suggestion.
The DSN syntax for ODBC was cleaned up in release 1.6.0RC3. Now it
acts as one would expect it to:
odbc:///datasourceName
Thus, explicit documentation for general ODBC DSN's doesn't seem needed
anymore.
I added an example for MS Access. The changes in CVS will be reflected
in the built documentation on Sunday.
------------------------------------------------------------------------
[2003-10-20 12:49:25] alan at aardwolfweb dot com
Description:
------------
The DB (and MDB) connect string for an ODBC datasource
comes up on PEAR general every few months. Could the
following be added to the docs:
ODBC datasource names should appear in the hostspec:
odbc://@datasourceName
MS Access often require that the username "admin" be used:
odbc://admin@datasourceName
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=130&edit=1