Re: Is it necessary to have different DSN formats in PDO ?
| From: | Wez Furlong | Date: | Wed, 02 Nov 2005 15:01:42 +0000 |
| Subject: | Re: Is it necessary to have different DSN formats in PDO ? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-19892@lists.php.net to get a copy of this message | ||
That's one of the reasons why we don't do it.
--Wez.
On 11/2/05, Andrey Nikolaev <na@index20.ru> wrote:
> It's much easer to write, parse and generate. Only don't know what to do with ODBC:
>
> "odbc:Driver={Microsoft Access Driver (*.mdb)};Dbq=C:\\db.mdb;Uid=Admin"
> "odbc:DSN={IBM DB2
> ODBC};HOSTNAME=localhost;PORT=50000;DBNAME=SAMPLE;PROTOCOL=TCPIP;UID=db2inst1;PWD=ibmdb2;"