Rene Dudfield | 2 Sep 2005 23:58
Picon
Gravatar

Re: connectionForURI documentation

On 9/3/05, Oleg Broytmann <phd <at> mail2.phd.pp.ru> wrote:
> On Fri, Sep 02, 2005 at 10:08:08AM -0400, Martin Blais wrote:
> > Just a minor irritant that is growing everytime I have to look it up:
> > It would be nice if the documentation included the format of the URL
> > string for connectionForURI.
> 
>    This is a pretty normal URI. Why do you need a special documentation for
> it?
> 

Because people do not know what to put in them.  Like is it user,
username, host, hostname, what are separating the key/values.

The non-postgresql ones aren't filled in because I don't know how to
do non-postgresql ones.

connectionForURI examples:

#Postgresql
connection_uri = "postgres://username <at> hostname/databasename"
connection_uri = "postgres://joe <at> localhost/mybadassdb"

#Mysql 
connection_uri = ""

#Sqlite
connection_uri = ""

#Sqlite(memory database)
connection_uri = ""

Cheer.

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

Gmane