X
Xata4w ago
kalem868

Connection terminated unexpectedly

I have my database set up like this const pool = new Pool({ connectionString: process.env.XATA_DATABASE_URL, max: 10, }); export const db = drizzle(pool, { schema: { Invoices, Customers, Users, BankAccounts, Withdrawals, }, }); it works but after a while I keep getting this error uncaughtException: Error: Connection terminated unexpectedly at Connection Not sure what I am doing wrong
1 Reply
cmck
cmck3w ago
Hi, Kalem! I see you've also reached out via [email protected]. I'll continue to assist you via the support ticket and post anything that might be helpful to the community here. Keep an eye out for my response on the support ticket!

Did you find this page helpful?