skip to Main Content

Access postgreSQL 13 database on remote vm – CentOS

I am trying to query a postgres instance that lives on a remote centos (redhat 7) virtual machine. The following code: import pandas as pd, sqlalchemy engine = sqlalchemy.create_engine('postgresql://postgres:projectpassword@ip_address_of_vm/project') df = pd.read_sql_table('test_table', engine) print(df) Whee ip_address_of_vm is the ens192 inet…

VIEW QUESTION
Back To Top
Search