supabase ECONNREFUSED
Unanswered
Barbary Lion posted this in #help-forum
Barbary LionOP
Hi,
I am doing the practice from Next.js tutorial, the link is: https://nextjs.org/learn/dashboard-app/setting-up-your-database
I created the database using Supabse, and trying to populate the database using the provided script. But when I go to localhost:3000/seed, I got erroe message:
{
"error": {
"code": "ECONNREFUSED"
}
}
Does anyone know how to solve it?
Thank you.
I am doing the practice from Next.js tutorial, the link is: https://nextjs.org/learn/dashboard-app/setting-up-your-database
I created the database using Supabse, and trying to populate the database using the provided script. But when I go to localhost:3000/seed, I got erroe message:
{
"error": {
"code": "ECONNREFUSED"
}
}
Does anyone know how to solve it?
Thank you.
2 Replies
Are you setting the connection string correctly?
@LuisLl Are you setting the connection string correctly?
Barbary LionOP
I just followed the steps in the tutorial (link to the tutorial: https://nextjs.org/learn/dashboard-app/setting-up-your-database ). I did not set the connection string manually.