pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shivender Devarakonda <shivenderd@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Ader Javier <javierader@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Authentication failed when Password contains Japaneese Charecters
Date: Wed, 21 Apr 2010 09:18:40 -0700
Message-ID: <k2ta7ddbfcf1004210918x64f9c66au4183983f5d0fb46@mail.gmail.com> (raw)
In-Reply-To: <23571.1271861903@sss.pgh.pa.us>
References: <q2ua7ddbfcf1004201711w90e5f323off7afcf12a0fbad4@mail.gmail.com>
	<8844.1271809392@sss.pgh.pa.us>
	<s2ya7ddbfcf1004201729te1e6c1bcz6d6d64d1a4a5ebd7@mail.gmail.com>
	<l2ga7ddbfcf1004201735g132fa19dhbef647a0625bfb6f@mail.gmail.com>
	<10484.1271812681@sss.pgh.pa.us>
	<p2wa7ddbfcf1004201907t80df30dela21fef5d30e90f0a@mail.gmail.com>
	<x2ka7ddbfcf1004201923pc4c50f97wedecea492f4bffcd@mail.gmail.com>
	<4BCE7ABC.8030502@gmail.com>
	<y2ka7ddbfcf1004202244ocd6ed49n6513ff1e9a65c5f8@mail.gmail.com>
	<23571.1271861903@sss.pgh.pa.us>

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@sss.pgh.pa.us> wrote:

> Shivender Devarakonda <shivenderd@gmail.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
>

view thread (15+ messages)  latest in thread

Message-ID: <k2ta7ddbfcf1004210918x64f9c66au4183983f5d0fb46@mail.gmail.com>
Permalink:  ../k2ta7ddbfcf1004210918x64f9c66au4183983f5d0fb46@mail.gmail.com/
Also on:    postgresql.org/message-id/k2ta7ddbfcf1004210918x64f9c66au4183983f5d0fb46@mail.gmail.com

 · 

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-jdbc@postgresql.org
  Cc: shivenderd@gmail.com, tgl@sss.pgh.pa.us, javierader@gmail.com
  Subject: Re: Authentication failed when Password contains Japaneese Charecters
  In-Reply-To: <k2ta7ddbfcf1004210918x64f9c66au4183983f5d0fb46@mail.gmail.com>
  References: <q2ua7ddbfcf1004201711w90e5f323off7afcf12a0fbad4@mail.gmail.com> <8844.1271809392@sss.pgh.pa.us> <s2ya7ddbfcf1004201729te1e6c1bcz6d6d64d1a4a5ebd7@mail.gmail.com> <l2ga7ddbfcf1004201735g132fa19dhbef647a0625bfb6f@mail.gmail.com> <10484.1271812681@sss.pgh.pa.us> <p2wa7ddbfcf1004201907t80df30dela21fef5d30e90f0a@mail.gmail.com> <x2ka7ddbfcf1004201923pc4c50f97wedecea492f4bffcd@mail.gmail.com> <4BCE7ABC.8030502@gmail.com> <y2ka7ddbfcf1004202244ocd6ed49n6513ff1e9a65c5f8@mail.gmail.com> <23571.1271861903@sss.pgh.pa.us> <k2ta7ddbfcf1004210918x64f9c66au4183983f5d0fb46@mail.gmail.com>

* 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