in reply to DBI database connection support and more
and let me know how you feel database connections should be cataloged
I don't think that there is "a" way. Depends on your application. Treating the DBI specific configuration information separately from the rest of your applications configuration options seems counterproductive to me
I usually put DBI info wherever the rest of the applications configuration information lives. A YAML file has been a recent popular choice.
Using the environment variables DBI_DSN, DBI_USER and DBI_PASS can be another useful way of passing the info in - and has the advantage of being built into DBI.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: DBI database connection support and more
by princepawn (Parson) on Sep 18, 2003 at 21:43 UTC | |
by DapperDan (Pilgrim) on Sep 21, 2003 at 16:02 UTC |