Skip site navigation (1) Skip section navigation (2)

Re: Crystal Reports: Connection rejected: FATAL: no PostgreSQL

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: "Rover, Mischa de" <mischa(dot)de(dot)rover(at)capgemini(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Crystal Reports: Connection rejected: FATAL: no PostgreSQL
Date: 2005-03-09 21:22:36
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc
Rover, Mischa de wrote:

> ERROR [datainterface] 
> com.crystaldecisions.reports.reportdefinition.datainterface.h: Logon 
> Error: Connection rejected: FATAL:  no PostgreSQL user name specified in 
> startup packet

This means that you are passing no user information when trying to make 
a connection (JDBC does not default to any particular user). It's a bit 
weird that it works against 7.3, though. If you specify 
"?protocolVersion=2" in the connection URL against an 8.0 server, does 
it work?

Is Crystal Reports the one that eats all the stack traces? It'd be 
useful to know the call path that generated this exception.

You have a few of choices as to how to pass in the user info:

- pass it to DriverManager.getConnection(url, user, password)
- pass a "user" property when calling DriverManager.getConnection(url, 
- pass it in the URL: jdbc:postgresql://host:port/database?user=username

I'm not familiar with Crystal Reports so I don't know how you'd 
configure it to use one of these approaches. Does it let you tweak the 
connection URL directly?

> This message contains information that may be privileged or confidential 
> and is the property of the Capgemini Group. It is intended only for the 
> person to whom it is addressed. If you are not the intended recipient, 
> you are not authorized to read, print, retain, copy, disseminate, 
> distribute, or use this message or any part thereof. If you receive this 
> message in error, please notify the sender immediately and delete all 
> copies of this message.

You are sending this message to a public list, so the boilerplate is 
pointless. (and anyway, what does "RCPT TO" mean if not "intended 


In response to


pgsql-jdbc by date

Next:From: Oliver JowettDate: 2005-03-09 21:31:32
Subject: Re: PostgreSQL 8.0 can't print duration in log when client
Previous:From: Ryszard LachDate: 2005-03-09 21:15:22
Subject: PostgreSQL 8.0 can't print duration in log when client uses 8.0 jdbc driver

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group