[Zope3-dev] psycopgDA
Stephan Richter
srichter at cosmos.phy.tufts.edu
Fri Sep 24 06:41:30 EDT 2004
On Friday 24 September 2004 02:01, Ulrich Schreiner wrote:
> if i remember right the parseDSN method wants a colon and a portnumber
> if you use the form with a hostname.
>
> i use
>
> dsn://user:password@servername:port/dbname
>
> and the parseDSN wants a ":port" after the servername. i used to remove
> the ":port"-portion if i use the defaultport. but then i get a very
> strange error (unpack list of wrong size) and it is hard to recognize
> that the DSN is wrong!
Okay, so as soon as you specify the servername, you also need the port. I
think it should be straight forward to fix this problem.
Regards,
Stephan
--
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
More information about the Zope3-dev
mailing list