0

So I was following up with a udemy course on backend development using PostgresSQL, Docker, GO, Kubernetes and got stuck here in the authentication part.

I created my postgresql container : docker run --name postgres12 -p 5432:5432 -e POSTGRES_USER=root -e POSTGRES_PASSWORD=secret -d postgres:12-alpine While using tableplus, I encountered this problem even after entering the correct password.

Here is the image

Dharman
  • 30,962
  • 25
  • 85
  • 135
Midas
  • 35
  • 2
  • 7

2 Answers2

3

For me solution was to disable local postgresql service since i have already installed it on my machine and as aziz said TablePlus will refer to the password you set to your psql user, instead of the one you've written when running container, so SOLUTION for windows is next:

  1. open run app (windows key + R)
  2. type services.msc and click ENTER
  3. find postgreesql service and stop it. image
Luka_mindo
  • 46
  • 3
0

I encountered the same issue recently. It might be because you have postgres already installed on your machine, so TablePlus will refer to the password you set to your psql user, instead of the one you've written when running container. At least this is what happened to me. The solution is to use your main postgres user password.

  • As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Oct 04 '22 at 07:19