Created
October 21, 2019 23:33
-
-
Save ardeshireshghi/96dee787a33f1c0d822b2d4929496cbe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import psycopg2 | |
connection = psycopg2.connect("dbname=name-of-db user=prod password=xxxx host=somehost sslmode=verify-full sslrootcert=/usr/local/share/ca-certificates/ca-2019-root.pem") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment