A
A
Alexander Shilov2019-04-03 12:14:05
Python
Alexander Shilov, 2019-04-03 12:14:05

How to connect to Postgresql database on local server?

Tell me please. I have an application that interacts with a PostgreSQL DB .

conn = postgresql.connect("host=localhost port=5432 dbname=Documents user=postgres")

Now I need to connect to a database that is on a local server. How to implement this, I do not quite understand.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anshi85, 2019-04-03
@Anshi85

Try this manual

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question