Hey all, this should be pretty simple but I'm struggling pretty hard.
I'm trying to use ogr to open up some databases, some of which have passwords. I know the passwords.
How do I use ogr.Open() and enter a password for this datasource?
Thanks!
What driver are you using? The correct way to access the resource will be dependent on the driver, for example the Postgres driver supports a number of different formats for authentication. you may be best served first confirming you can access the data with the command line tools, then switching to using the Python bindings afterward.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.