pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ram <ramamohan.raju31@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: BUG #6287: Unexpected protocol character during authentication
Date: Fri, 4 Nov 2011 21:06:14 GMT
Message-ID: <201111042106.pA4L6EeZ084024@wwwmaster.postgresql.org> (raw)


The following bug has been logged online:

Bug reference:      6287
Logged by:          Ram
Email address:      ramamohan.raju31@gmail.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@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



view thread (2+ messages)  latest in thread

Message-ID: <201111042106.pA4L6EeZ084024@wwwmaster.postgresql.org>
Permalink:  ../201111042106.pA4L6EeZ084024@wwwmaster.postgresql.org/
Also on:    postgresql.org/message-id/201111042106.pA4L6EeZ084024@wwwmaster.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: ramamohan.raju31@gmail.com
  Subject: Re: BUG #6287: Unexpected protocol character during authentication
  In-Reply-To: <201111042106.pA4L6EeZ084024@wwwmaster.postgresql.org>
  References: <201111042106.pA4L6EeZ084024@wwwmaster.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox