Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

No password in making database connection #50

Open
William1104 opened this issue Dec 5, 2019 · 0 comments
Open

No password in making database connection #50

William1104 opened this issue Dec 5, 2019 · 0 comments

Comments

@William1104
Copy link

Dear Sir,

connStr := fmt.Sprintf("postgres://%s@%s:%d/%s?sslmode=disable", dbconn.User, dbconn.Host, dbconn.Port, dbconn.DBName)

It seems that we cannot provide any password for making database connection. If we secure greenplum database by disabling all 'trust' and 'ident' authentication method in 'pg_hba.conf' configuration, how may we use tools like gpbackup and gprestore (which depending on this gp-common-go-libs) ?

Thanks and regards,
William

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant