public inbox for rhdb@sourceware.org
 help / color / mirror / Atom feed
* problem with Configuring a Connection to a Database using Visual Explain
@ 2003-10-02  1:39 Wei Tjioe
  2003-10-02 20:07 ` Fernando Nasser
  0 siblings, 1 reply; 11+ messages in thread
From: Wei Tjioe @ 2003-10-02  1:39 UTC (permalink / raw)
  To: rhdb; +Cc: Wei Tjioe


Another observation with Visual Explain is on how it treats PASSWORD
authentication.

For example: in pg_hba.conf

local   all                                     md5
host    all     127.0.0.1     255.255.255.255   md5

This causes Visual Explain to refuse connection based on Password
(although connection request through psql, both local and -h, succeeded).

Test 1: Driver
PASSED

Test 2: Connection
FAILED
Unable to connect to database.
Reason: Something ....Please report this exception: Exception:
java.sql.SQLException: FATAL 1:
Password authentication failed for use "me"


When authentication is switched to clear text:

local   all                                     md5
host    all     127.0.0.1     255.255.255.255   password

[root@darwin data]# pg_ctl reload
postmaster successfully signaled
...

Visual Explain connects to database successfully.

Testing Database Connection: testdb
Test1: Driver
PASSED

Test2: Connection
PASSED


If there's a safer alternative, please post.


Wei

^ permalink raw reply	[flat|nested] 11+ messages in thread
* problem with Configuring a Connection to a Database using Visual Explain
@ 2003-09-18  8:25 huwang wang
  2003-09-18 14:36 ` Patrick Macdonald
  0 siblings, 1 reply; 11+ messages in thread
From: huwang wang @ 2003-09-18  8:25 UTC (permalink / raw)
  To: rhdb

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

Hi,

After,modifying the content of  my pg_hba.conf file 
to local all trust,I can log into the graphical tool
Adminstrator using username ccm which had been created
by myself using command line and then I  created a
database named ccm61 using the graphical tool.

Then I turned to Visual Explain.When I configured a
connection to the database ccm61,I had used the
following parameter:
database:ccm61
Host:localhost
port:5432
username: ccm
password:ccm_xyz

After I clicked  the Test button,the system response
is:

Test 1: Driver
FAILED
Unable to load JDBC driver.

Test 2: Connection
FAILED
Unable to connect to database.
Reason: No suitable driver

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] 11+ messages in thread

end of thread, other threads:[~2003-10-03  2:21 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-02  1:39 problem with Configuring a Connection to a Database using Visual Explain Wei Tjioe
2003-10-02 20:07 ` Fernando Nasser
2003-10-02 20:28   ` Wei Tjioe
2003-10-02 21:13     ` Fernando Nasser
2003-10-02 22:44       ` Wei Tjioe
2003-10-03  0:41   ` Fernando Nasser
2003-10-03  1:16     ` Wei Tjioe
2003-10-03  1:53       ` Fernando Nasser
2003-10-03  2:21         ` Wei Tjioe
  -- strict thread matches above, loose matches on Subject: below --
2003-09-18  8:25 huwang wang
2003-09-18 14:36 ` Patrick Macdonald

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).