On Wednesday 15 November 2006 17:30, Ed Leafe wrote: > On Nov 15, 2006, at 8:15 PM, Chang Aaron wrote: > > I've installed all the modules include psycopg2 but > > I keep had the message "Unable to make connection" > > shown when I run the ConnectionEditor tool. > > I can fetch data from postgresql table by handy > > python script but dabo can't .. what's wrong ? > > Are you using a non-standard port for PostgreSQL access? Is your > Pyhton script on the same machine as the server, or is it on the same > machine that you are running the connection editor on? > > -- Ed Leafe > -- http://leafe.com > -- http://dabodev.com I use '5432' (standard port for Postgres) only if str(connectInfo.Port) is empty or None. I'm sure he must have used CxnEditor.py which returns only a a 'success' or 'no success'. So he could have gotten a connection but lacked rights.
John _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
