Re: Authentication failed when Password contains Japaneese Charecters

From: Shivender Devarakonda <shivenderd(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Ader Javier <javierader(at)gmail(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Authentication failed when Password contains Japaneese Charecters
Date: 2010-04-21 16:18:40
Message-ID: k2ta7ddbfcf1004210918x64f9c66au4183983f5d0fb46@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

I did not get you on this. My DB cmdb is in UTF-8 already, do I still need
to change the password and test it?

I tried to use ALTER USER to change the password, for some reason the sql
command is not displaying the japaneese charecter properly and I tried using
the buffer file but the buffer file was default to ANSI format and it is not
accepting UTF-8 format..

any thoughts?

Thanks,
Shivender

On Wed, Apr 21, 2010 at 7:58 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Shivender Devarakonda <shivenderd(at)gmail(dot)com> writes:
> > I set the following property in postgresql.conf:
> > client_encoding = UTF-8 # actually, defaults to database
>
> That would not help if you were connecting to a database with SQL_ASCII
> encoding (which defeats all encoding intelligence). I'd suggest
> connecting to cmdb with psql and issuing an ALTER USER command to
> set the user's password again.
>
> regards, tom lane
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tom Lane 2010-04-21 16:41:29 Re: Authentication failed when Password contains Japaneese Charecters
Previous Message Nikolas Everett 2010-04-21 15:43:52 Re: SOLVED ... Re: Getting rid of a cursor from JDBC .... Re: [PERFORM] Re: HELP: How to tame the 8.3.x JDBC driver with a biq guery result set