PHP 4.0 Bug #5682: Allow connection string in place of DSN for ODBC connections
| From: | mathias98 at aol dot com | Date: | Wed, 19 Jul 2000 18:51:43 +0000 |
| Subject: | PHP 4.0 Bug #5682: Allow connection string in place of DSN for ODBC connections | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-25149@lists.php.net to get a copy of this message | ||
From: mathias98@aol.com
Operating system: Win NT 4.0 / 2000
PHP version: 4.0.1pl2
PHP Bug Type: Feature/Change Request
Bug description: Allow connection string in place of DSN for ODBC connections
In order to faciliate easier connections to a Microsoft Access DB why not allow ODBC connections to
use a connection string rather than a DSN? Trying to create DSNs for each Access DB when you have a
lot of dynamically generated ones is a pain, and if you could do something like:
odbc_connectionstring_pconnect(
"uid=myname;pwd=mypw;driver={MSAccess};server=myserver;database=pubs;dsn=''" );
that would be great. It would also allow for PHP to connect to different types of servers on the
fly without any prior knowledge of the server existing (and having a DSN) before.