× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
swissarmyknife(*) reported 2012-12-04T21:54:22Z  · funfun last modified 2012-12-04T22:37:28Z

Greenplum - create user GUI - try to use that user as login for ADStudio server registration - org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host


doc
Dev
Fun Fun
funfun
QA
Sachin Prakash
SachinPrakash
Priority Low
Complexity Unknown
Component App - Visual Editing
Version 13.0

 

Sachin asked me to report this one.
 
Version: 13.0-dev-41
Build #: 30427
Build Date: 2012-Dec-04 10:21:38 AM
 
Operating Environment: Windows XP (5.2, amd64) / Cp1252 / en / US / Sun Microsystems Inc. 1.6.0_35-b10
Memory: Max=891,092,992;  Total=436,862,976;  Free=340,016,080;  CPUs=8

 

 

1. create a user called something like jonzzz ( I used jonppp as you can see below ). See attached for what should be checked in the General and Database Access tabs of the CREATE user GUI.  

Here's a "Script Object to Window As..." for the user so you can see its permissions

 

 
CREATE USER jonppp WITH SYSID 268541 PASSWORD '<password>' 
NOCREATEDB 
NOCREATEUSER
GO
GRANT CONNECT, TEMP ON DATABASE jonqatest TO jonppp
GO
GRANT CREATE, USAGE ON SCHEMA public TO jonppp
GO
ALTER GROUP jonathantestgroup ADD USER jonppp
GO
 
2. During the creation, the Messages tab of the CREATE User dialog will give this message

resource queue required -- using default resource queue "pg_default"

 

3. Once you see the user in the Security node of the schema browser, create a server registration to Greenplum with this user's credentials.

4. When you click ok in the Greenplum server registration dialog to complete the creation of the server connection for ADStudio, you receive the following 

 

 

org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "10.168.1.93", user "jonppp", database "jonqatest", SSL off
at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:291)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:106)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64)
at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:123)
at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:28)
at org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:20)
at org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:30)
at org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:22)
at org.postgresql.Driver.makeConnection(Driver.java:391)
at org.postgresql.Driver.connect(Driver.java:265)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:154)
at \\...\\ .\\हिñçêČάй語简�?한\\.Sꌎꒄꍥꈫ private.yV(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.Sꌎꒄꍥꈫ private.Z(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.Sꌎꒄꍥꈫ private.getConnection(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.Sꌎꒄꍥꈫ private.getConnection(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.Kꑺ⠁ꋬꃩ 7 Object.process(Unknown Source)
at com.common.ui.util.BackgroundThread.run(Unknown Source)
 
 
 

 

5 attachments

Issue #8007

Closed
Invalid
Resolved 2012-12-04T22:28:09Z
 
 
Completion
No due date
No fixed build
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017