Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(FATAL: password authentication failed for user "postgres" (SQLSTATE 28P01)) #70

Closed
Banzaika opened this issue Jun 24, 2023 · 1 comment

Comments

@Banzaika
Copy link

I run timescaledb-parallel-copy --db-name timescale_parallel_copy --table yuh_general_datapoint --file exported_data.csv --workers 2 --reporting-period 30s --copy-options "NULL 'NULL' CSV"; but I get:
panic: could not connect: failed to connect to host=localhost user=postgres database=timescale_parallel_copy: failed SASL auth (FATAL: password authentication failed for user "postgres" (SQLSTATE 28P01))

goroutine 6 [running]:
main.processBatches(0x0?, 0x0?)
/home/builder/go/pkg/mod/github.com/timescale/timescaledb-parallel-copy@v0.4.0/cmd/timescaledb-parallel-copy/main.go:200 +0x674
created by main.main
/home/builder/go/pkg/mod/github.com/timescale/timescaledb-parallel-copy@v0.4.0/cmd/timescaledb-parallel-copy/main.go:145 +0x4ad

i tried to specify a username to connect but didn't find a flag for that(

@Banzaika
Copy link
Author

i found the flag '-connection'

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

No branches or pull requests

1 participant