Skip to main content
deleted 39 characters in body
Source Link
Illusionist
  • 5.5k
  • 12
  • 50
  • 82

This is sort of how yoru call should look like. Pls set up localhost

!/usr/bin/python
import psycopg2
conn = psycopg2.connect(database="postgres", user="postgres", password="postgres", host='localhost', port=5432)

conn.close()

This is sort of how yoru call should look like. Pls set up localhost

!/usr/bin/python
import psycopg2
conn = psycopg2.connect(database="postgres", user="postgres", password="postgres", host='localhost', port=5432)

conn.close()

This is sort of how yoru call should look like.

!/usr/bin/python
import psycopg2
conn = psycopg2.connect(database="postgres", user="postgres", password="postgres", port=5432)

conn.close()
Source Link
Illusionist
  • 5.5k
  • 12
  • 50
  • 82

This is sort of how yoru call should look like. Pls set up localhost

!/usr/bin/python
import psycopg2
conn = psycopg2.connect(database="postgres", user="postgres", password="postgres", host='localhost', port=5432)

conn.close()