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

BUG #6287: Unexpected protocol character during authentication

From: "Ram" <ramamohan(dot)raju31(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #6287: Unexpected protocol character during authentication
Date: 2011-11-04 21:06:14
Message-ID: 201111042106.pA4L6EeZ084024@wwwmaster.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-bugs
The following bug has been logged online:

Bug reference:      6287
Logged by:          Ram
Email address:      ramamohan(dot)raju31(at)gmail(dot)com
PostgreSQL version: don't know
Operating system:   Linux
Description:        Unexpected protocol character during authentication
Details: 

My odbc.ini is like below:
---------------------------
[FH1SQL1]
Description = PostgreSQL connection to 'dbProjNum' database
Driver = /usr/lib64/libodbcpsql.so.2.0.0
Setup = /usr/lib64/libodbcpsqlS.so.1.0.0
Servername = name
Port = 1433
User = xxxxx
Password = yyyyy
Database = db

My odbcinst.ini is like below:
------------------------------
[PostgreSQL]
Description     = ODBC for PostgreSQL
Driver          = /usr/lib64/libodbcpsql.so.2.0.0
Setup           = /usr/lib64/libodbcpsqlS.so.1.0.0
FileUsage       = 1

When i give the below command i am getting error.

root(at)x# isql FH1SQL1 xxxx yyy -v
[28000][unixODBC]Unexpected protocol character during authentication;
Socket has been closed.
[ISQL]ERROR: Could not SQLConnect

Please help me in this. it's very urgent

Responses

pgsql-bugs by date

Next:From: John R PierceDate: 2011-11-04 21:57:09
Subject: Re: BUG #6281: need to remove
Previous:From: Kevin GrittnerDate: 2011-11-04 20:59:22
Subject: Re: BUG #6281: need to remove

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