2

i'm trying to implement docker in my rails api but I keep getting this error PG::ConnectionBad: SCRAM authentication requires libpq version 10 or above. I've try all the solutions I've found on the internet, even in another questions here, but none of them works. anybody knows the solution to this?

VLAZ
  • 26,331
  • 9
  • 49
  • 67
  • 1
    Yes. The solution is what all the answers will tell you: upgrade the PostgreSQL client software in the container that gets the error. I know containers are all about *not* upgrading anything, but asking again won't change the truth. – Laurenz Albe Feb 16 '22 at 07:09

1 Answers1

0

You need the update de image you are using in your container. I've had the same problem for running flywaydb. I updated the latest image version and solve this problem.

Jhonatan
  • 91
  • 8