Connect to Postgres database in Docker using pydobc (python) in macbook


I want the step-by-step to setup a docker image that is able to connect to a postgres database using the pydobc library, something around the lines:

conn_str = ("DRIVER=/usr/local/lib/[login to view URL];""DATABASE=mytestdb;""UID=postgres;""PWD=mysecretpassword""SERVER=localhost;""PORT=5432;");

conn = [login to view URL](conn_str)

Currently, I am having the following issue when running the code above.

File "", line 1, in [login to view URL]: ('08001', '[08001] could not connect to server: No such file or directory\n\tIs the server running locally and accepting\n\tconnections on Unix domain socket "/tmp/.s.PGSQL.5432"?\n (101) (SQLDriverConnect)')

This is part of a personal project that I am trying to finish.



Compétences : Docker, PostgreSQL, Python

en voir plus : python odbc, pyodbc mac, install freetds mac, python connect to sql server from linux, unixodbc mssql, odbc driver mac sql server, connect to sql server from mac, pyodbc connect source code, microsoft visual studio connect postgres database, connect mysql database using, connect oracle database using pocket 2003 application, connect flex database postgres, connect postgres database project myeclipse, python web service connect oracle database, connect system database using mobile j2me, create database design using postgres, postgres connect to database command line, how to connect sqlite database in android using android studio, how to connect oracle database in asp net using c#, how to connect mysql database in jsp using netbeans

Concernant l'employeur :
( 0 commentaires ) Vitória, Brazil

Nº du projet : #19081712

Décerné à:


With the proposed budget and timeline, will prepare a docker project which uses pyodbc to connect to postgresql db and explain the process step-by-step. Please send me a message so we can discuss your requirements. Tha Plus

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 2 jours
(1 Évaluation)

2 freelance font une offre moyenne de $115 pour ce travail


Hi, Sir!! @@@I HAVE CARRIED ON LIKE YOUR PROJECT BEFORE 2 DAY.@@@@ @$@$@$PLEASE CONTACT ME. I CAN DO IT IN 1 DAY $@$@$@ ##% Your idea is attracted me to your world. %## I am Python expert. i have a various skil Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(7 Commentaires)