* I can't connect to Redhat database administrator graphical tool @ 2003-09-16 3:17 huwang wang 2003-09-16 13:18 ` Patrick Macdonald 0 siblings, 1 reply; 5+ messages in thread From: huwang wang @ 2003-09-16 3:17 UTC (permalink / raw) To: rhdb [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; charset=gb2312, Size: 732 bytes --] 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: I can't connect to Redhat database administrator graphical tool 2003-09-16 3:17 I can't connect to Redhat database administrator graphical tool huwang wang @ 2003-09-16 13:18 ` Patrick Macdonald 2003-09-17 1:21 ` huwang wang 0 siblings, 1 reply; 5+ messages in thread From: Patrick Macdonald @ 2003-09-16 13:18 UTC (permalink / raw) To: huwang wang; +Cc: rhdb 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? ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: I can't connect to Redhat database administrator graphical tool 2003-09-16 13:18 ` Patrick Macdonald @ 2003-09-17 1:21 ` huwang wang 2003-09-17 13:33 ` Patrick Macdonald 0 siblings, 1 reply; 5+ messages in thread From: huwang wang @ 2003-09-17 1:21 UTC (permalink / raw) To: Patrick Macdonald; +Cc: rhdb [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; charset=gb2312, Size: 2088 bytes --] 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: I can't connect to Redhat database administrator graphical tool 2003-09-17 1:21 ` huwang wang @ 2003-09-17 13:33 ` Patrick Macdonald 2003-09-18 8:15 ` huwang wang 0 siblings, 1 reply; 5+ messages in thread From: Patrick Macdonald @ 2003-09-17 13:33 UTC (permalink / raw) To: huwang wang; +Cc: rhdb [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; charset=GB2312, Size: 3119 bytes --] 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 > > > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: I can't connect to Redhat database administrator graphical tool 2003-09-17 13:33 ` Patrick Macdonald @ 2003-09-18 8:15 ` huwang wang 0 siblings, 0 replies; 5+ messages in thread From: huwang wang @ 2003-09-18 8:15 UTC (permalink / raw) To: Patrick Macdonald; +Cc: rhdb [-- 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-09-18 8:15 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2003-09-16 3:17 I can't connect to Redhat database administrator graphical tool 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 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).