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

connect to Postgresql/PostGis #362

Closed
csae8092 opened this issue Nov 3, 2017 · 2 comments
Closed

connect to Postgresql/PostGis #362

csae8092 opened this issue Nov 3, 2017 · 2 comments

Comments

@csae8092
Copy link

csae8092 commented Nov 3, 2017

Not sure if this wasn't already mentioned in issue #133 but when I try to import a Database Table from a postgresql db (with postgis extension installed) I get the error message

The driver for PostGIS was not found. Please add the driver to the path and try again

Could you maybe point out which Driver is needed, where I can get it from and where to put it.
I am using Karma 2.053 on windows (10) but we are also running Karma on Linux (CentOS)

Thank you very much!

@dariok
Copy link

dariok commented Nov 3, 2017

Assuming you used the 'One click install' and extracted it somewhere. Navigate to that folder and further to resources, app where you will find jre1.x... and a folder 'lib' within. Copy the whole path to the lib folder.

Download the current PostgreSQL JDBC driver from https://jdbc.postgresql.org/download.html and put it into the lib folder.

In the main Karma window, navigate to "File", "Set Java Home". Paste the path you just copied, click okay and restart Karma. You should now be able to open a DB connection.

@csae8092
Copy link
Author

csae8092 commented Nov 3, 2017

Thank you!! That was it.

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