* Tim Bunce <[EMAIL PROTECTED]> [2004-12-01T13:27:00]
> On Wed, Dec 01, 2004 at 10:09:55AM -0500, Ricardo SIGNES wrote:
> >  db_driver: ODBC
> >  db_user: kibo
> >  db_pass: grep
> >  db_name: users
> > 
> 
> Why not store something like this?:
> 
>    db_user: kibo
>    db_pass: grep
>    db_dsn: dbi:...:...

Well, at the least, the MSSQL ODBC driver likes to have user name in the
DSN, as I recall.  At any rate, it frees me from worrying every time I
change something about dsn format for any given driver.  I worry once
when writing the dsn-string-builder, then forget about it.

-- 
rjbs

Attachment: pgpA24y4MXXBr.pgp
Description: PGP signature

Reply via email to