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.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.