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

fhirbase with postgres 14.2 (localhost on windows) #40

Open
dtsoden opened this issue Mar 28, 2022 · 1 comment
Open

fhirbase with postgres 14.2 (localhost on windows) #40

dtsoden opened this issue Mar 28, 2022 · 1 comment

Comments

@dtsoden
Copy link

dtsoden commented Mar 28, 2022

https://fhirbase.aidbox.app/getting-started#creating-and-initializing-database

fhirbase --host localhost -p 5432 -d fhirbase -U postgres -W postgres --fhir=3.3.0 init

produces this error:
Error connecting to database: unknown authentication type: 10

I setup postgres on localhost with password also as postgres so the above install script line runs but won't connect
psql -U runs perfectly and logs in and runs fine and the DB is there in place

postgres=# \l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
-----------+----------+----------+----------------------------+----------------------------+-----------------------
fhirbase | postgres | UTF8 | English_United States.1252 | English_United States.1252 |
postgres | postgres | UTF8 | English_United States.1252 | English_United States.1252 |
template0 | postgres | UTF8 | English_United States.1252 | English_United States.1252 | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | English_United States.1252 | English_United States.1252 | =c/postgres +
| | | | | postgres=CTc/postgres
(4 rows)

postgres=# \c fhirbase
You are now connected to database "fhirbase" as user "postgres".
fhirbase=# \du
List of roles
Role name | Attributes | Member of
-----------+------------------------------------------------------------+-----------
postgres | Superuser, Create role, Create DB, Replication, Bypass RLS | {}

@dtsoden dtsoden changed the title fhirbase with postgres 14.2 fhirbase with postgres 14.2 (localhost on windows) Mar 28, 2022
@Lijo-CheeranJoseph
Copy link

Hi, I am also facing the same issue. Did you get any resolution?

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

2 participants