hello: could someone describe the format for the connection string for ZPyGreSQLDA? i've looked everywhere but cannot find it documented. i have a database called 'test' which i can connect to using psql. it is running on the default port 5432. i have also successfully connected using the python module. the "obvious" connection strings ("test@localhost:5432", etc) don't work. everything i try when establishing the database gives an "Invalid connection string" error. any help is appreciated. thanks, brad
On Tue, 4 Apr 2000, Brad Crittenden wrote:
could someone describe the format for the connection string for ZPyGreSQLDA? i've looked everywhere but cannot find it documented.
look in the README tab at the top right of the screen, the connection string is described here. bye, Jerome
On Tue, 4 Apr 2000, Brad Crittenden wrote:
could someone describe the format for the connection string for ZPyGreSQLDA? i've looked everywhere but cannot find it documented.
Many database adapters use the followin scheme: database@host:port user password @host and :port and password may be omitted, but I think user must be included.
i have a database called 'test' which i can connect to using psql. it is running on the default port 5432. i have also successfully connected using the python module.
the "obvious" connection strings ("test@localhost:5432", etc) don't
For default settings (localhost and 5432) you may omit these parts, so just use "test", but add user part: test www (and allow user "www" to access the DB "test" withou password; or better; use password)
work. everything i try when establishing the database gives an "Invalid connection string" error.
Oleg. (All opinions are mine and not of my employer) ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
database user So if you have a database called 'funland' and the user is 'clown' it would be: funland clown Enjoy, J
participants (4)
-
Brad Crittenden -
J. Atwood -
Jerome Alet -
Oleg Broytmann