User `postgresWaspDevUser` was denied access on the database
I try to use PostgreSQL database with docker. i have a terminal process in which i ran the command wasp start db. In another terminal, I started wasp with wasp start, but I get the following outputs:
Terminal 1: wasp start db 2024-06-13 22:43:01.339 UTC [1] LOG: database system is ready to accept connections 2024-06-13 22:43:41.772 UTC [33] FATAL: no pg_hba.conf entry for host "192.168.65.1", user "postgresWaspDevUser", database "ServiceConnect-5c2be627cd", no encryption 2024-06-13 22:43:44.538 UTC [34] FATAL: no pg_hba.conf entry for host "192.168.65.1", user "postgresWaspDevUser", database "ServiceConnect-5c2be627cd", no encryption
Terminal 2: --- Setting up database... -----------------------------------------------------
[ Db !] Error: P1010 [ Db !] [ Db !] User
postgresWaspDevUser
postgresWaspDevUser
was denied access on the database
ServiceConnect-5c2be627cd.public
ServiceConnect-5c2be627cd.public
[ Db !] [ Db ] Environment variables loaded from .env [ Db ] Prisma schema loaded from ../db/schema.prisma [ Db ] [ Db ] Generated Prisma Client (4.16.2 | library) to ./../../../node_modules/@prisma/client in 44ms [ Db ] You can now start using Prisma Client in your code. Reference: https://pris.ly/d/client [ Db ] [ Db ] import { PrismaClient } from '@prisma/client' [ Db ] const prisma = new PrismaClient() [ Db ]