locationtech / geogig

GeoGig project
Other
402 stars 80 forks source link

cannot import postgis-database into repo #510

Closed Kohlroulade closed 3 years ago

Kohlroulade commented 3 years ago

I downloaded the most recent release 1.2.0 from geogig. Now I try to import some data from my postgres-database (postgres-version v13):

geogig pg import --host localhost --database mydatabase --schema public --user postgres --password secret

When I execuite that command I get the following error:

org.postgresql.util.PSQLException: The authentication type 10 is not supported. Check that you have configured the pg_hba.conf file to include the client's IP address or subnet, and that it is using an authentication scheme supported by the driver

Kohlroulade commented 3 years ago

I got it to work by replacing the JDBC-driver under geogig/libexec by the never version postgresql-42.2.21