Thread: Problem with the connection using.odbc.ini

Problem with the connection using.odbc.ini

From
"Bjorn Segers (dig)"
Date:
Hi,
 
I have a problem with the connection to a database.
I am using postgresql.
This is my .odbc.ini-file:
 
[ODBC Data Sources]
beehive = Read/Write DB
 
[beehive]
Driver = /usr/lib/libpsqlodbc.so
Servername = beehive.secure....
Database = beehive
Userid = postgres
 
[ODBC]
InstallDir = /opt/Beeyond/data
 
I know the driver is loaded, the servername is correct, the database is correct and the Userid is correct.
But I still get the message:
 
SQLSTATE = 28000
        no Postgres username specified in the startup packet.
 
Can you tell me what the startup packet is, or what is missing in my .odbc.ini-file?
 
Greeting,
bjorn segers