Can you give me docker image with postgres 9.6 and port 5432 for python 3.6?
I’m getting various errors while i’m trying to change the configuration according to the errors.
The problem is psql is unable to find or connect to database. The default database url seems to have been changed from version 1 to 2, previously in 1.0 it was “postgres://ubuntu:@127.0.0.1:5432/circle_test”.
Now I’m using image: circleci/postgres:9.6.5-alpine-ram with database url “postgres://email@example.com:5433/circle_test”(port seems to be 5433 for this image).
Is this the proper url where “root” is username and “circle_test” is database? or What are default username and database name for above image?
Also I believe the port was hard coded somewhere in our application, so if you can give me a docker image for postgres 9.6 with port 5432 for python 3.6 and its default username and database name, it would be really helpful.
Errors I got are:
‘psql fatal role “circleci” not found.’
2.)(Currently after some changes)
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket “/var/run/postgresql/.s.PGSQL.5432”?
I hope I made some sense.
I can provide you with whatever the information you want or even yml config files if necessary.
(“https://circleci.com/docs/2.0/databases/#postgresql-database-testing-example”, followed this link but didn’t help).
This has been pending since a month and has to be resolved soon. Please help.