Manuel Coffin
04/03/2022, 8:28 PMCan't reach database server at `db.<my-id>.supabase.co`:`5432`
Please make sure your database server is running at `db.<my-id>.supabase.co`:`5432`.
I saw some other people getting this, but didn't find a solution... Nothing has changed in my db configurationNeedle
04/03/2022, 8:28 PM/title
command!
We have solved your problem?
Click the button below to archive it.barry
04/03/2022, 8:30 PMNeedle
04/03/2022, 8:30 PMManuel Coffin
04/03/2022, 8:32 PMjs
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["fullTextSearch"]
}
and where I setup the db:
js
const supabaseUrl = process.env.NEXT_PUBLIC_SUPABASE_URL || ""
const supabaseAnonKey = process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY || ""
export const supabase = createClient(supabaseUrl, supabaseAnonKey)
Manuel Coffin
04/03/2022, 8:39 PM