public inbox for rhdb@sourceware.org
 help / color / mirror / Atom feed
From: "huwang wang" <kongyishi@yahoo.com.cn>
To: Patrick Macdonald <patrickm@redhat.com>
Cc: rhdb@sources.redhat.com
Subject: Re: I can't connect to Redhat database administrator graphical tool
Date: Thu, 18 Sep 2003 08:15:00 -0000	[thread overview]
Message-ID: <20030918081527.39162.qmail@web15311.mail.bjs.yahoo.com> (raw)
In-Reply-To: <3F6862BE.5010807@redhat.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb2312, Size: 3887 bytes --]

 
Hi,
According to your instruction,I have successfully
connected to the server using the graphical tool.
Thank you.


--- Patrick Macdonald <patrickm@redhat.com> µÄÕýÎÄ£º>
Huwang,
> 
> Here's some information from a past post on this
> mailing list:
> 
> Deepak Bhole wrote (on 04/08/2003):
> > Hi Jos¨¦,
> >
> > You need to re-configure your Host Based
> Authentication (hba) file. This
> > is located in /var/lib/pgsql/data/pg_hba.conf.
> >
> > It seems that in there, you have set
> authentication for postgres to pass
> > only if the IDENT is correct (either postgres, or
> something else if you
> > are using mapping. See
> >
>
http://www.postgresql.org/docs/view.php?version=7.3&idoc=1&file=client-authentication.html
> for more info). If you are aware that its using
> IDENT authentication and wish to continue
> to use it, you must start rhdb-admin as user
> postgres in order to connect to the cluster
> successfully.
> >
> > If you do not wish to start rhdb-admin as user
> postgres, you will have
> > to configure the pg_hba.conf file to authenticate
> postgres on
> > "password"/"trust"/etc.
> >
> > Regards,
> > Deepak
> 
> 
> 
> huwang wang wrote:
> > Hi,
> > 
> > When I installed the redhat database 2.1,I have
> chosen
> >  to perform all the following tasks.  
> > 
> > Start Red Hat Database now.
> > Configure Red Hat Database to start at system
> > start-up. 
> > Run the regression tests.
> > 
> > All of these tasks have completed successfully.
> > 
> > Then I started the graphical tool DataBase
> > Administrator and followed the instructions in
> your
> > tutorial,I fill the blanks with "tutorial","Unix
> > Domain Socket","/tmp","5432".
> > 
> > As for the user name and pasword,No matter what I
> have
> > provided ,such as postgres or other username and
> > password I have created by command line,when I
> clicked
> > the tutorial icon,the right pane showed
> that"status
> > Not Connected Reason:Fatal 1:IDENT authenticatin
> > failed for user "postgres"or other name I have
> > created.
> > 
> > But in fact the redhat database server is
> > running.Because when I use postgres or the name I
> have
> > created to issue command createdb ***,the response
> is
> > correct---CREATE DATABASE. 
> > 
> > Can you help me out?
> > 
> > 
> > --- Patrick Macdonald <patrickm@redhat.com>
> µÄÕýÎÄ£º>
> > Huwang,
> > 
> >>Yes, you should just able to leave the password
> >>field
> >>blank with the default user.  As for creating
> other
> >>users and using the tool, what type of error
> message
> >>is being returned when you attempt to connect?
> >>
> >>Cheers,
> >>Patrick
> >>
> >>huwang wang wrote:
> >>
> >>>Hi,
> >>>According to your tutorial,
> >>>
> >>
> >
>
http://www.redhat.com/docs/manuals/database/RHDB-2.1-Manual/guitools/x454.html
> > 
> >>>we need to provide the password of postgres when
> >>
> >>we
> >>
> >>>log in as 'postgres'.But as we know ,the default
> >>>installation of postgresql has no password for
> >>
> >>User
> >>
> >>>'postgres'.
> >>>
> >>>I have also created several user using the
> command
> >>>line to try to connect using the graphical
> >>
> >>tool,and it
> >>
> >>>also failed.
> >>>
> >>>Can you help me out? 
> >>
> >> 
> > 
> > 
> >
>
_________________________________________________________
> > Do You Yahoo!? 
> >
>
ÆôÓõçÓÊÕʺţ¬Áì»áÑÅ»¢Í¨[ÉíÁÙÆä¾³ÁĵçÓ°]µÄ¶¯¸Ð÷ÈÁ¦£¬»¹ÓÐÍøÂçÉãÏñÍ·+ÑÅ»¢Í¨ÊÕÒô»úµÈÄãÀ´ÄÃ
> >
>
http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.messenger.yahoo.com
> > 
> > 
> > 
> 
>  

_________________________________________________________
Do You Yahoo!? 
ÆôÓõçÓÊÕʺţ¬Áì»áÑÅ»¢Í¨[ÉíÁÙÆä¾³ÁĵçÓ°]µÄ¶¯¸Ð÷ÈÁ¦£¬»¹ÓÐÍøÂçÉãÏñÍ·+ÑÅ»¢Í¨ÊÕÒô»úµÈÄãÀ´ÄÃ
http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.messenger.yahoo.com

      reply	other threads:[~2003-09-18  8:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-16  3:17 huwang wang
2003-09-16 13:18 ` Patrick Macdonald
2003-09-17  1:21   ` huwang wang
2003-09-17 13:33     ` Patrick Macdonald
2003-09-18  8:15       ` huwang wang [this message]

Reply instructions:

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

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

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030918081527.39162.qmail@web15311.mail.bjs.yahoo.com \
    --to=kongyishi@yahoo.com.cn \
    --cc=patrickm@redhat.com \
    --cc=rhdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).