net::ERR_NAME_NOT_RESOLVED
Hi, I was following the drizzle planetscale starter made by josh (https://github.com/joschan21/drizzle-planetscale-starter) and I came across some erros I didn't know how to fix.
I have the following server component:
and when I try view this I get thousands of console errors (more errors just keep coming, its like an infinite amount of console errors) of just the same thing:
I'm pretty sure this has to do with my database URL, but I could be wrong
My db/index looks like this:
and my drizzle.config.ts looks like this:
my .env looks like this:
with ?ssl={"rejectUnauthorized":true} coming from the docs.
any idea on how to fix this? thanks
GitHub
GitHub - joschan21/drizzle-planetscale-starter: NextJS 13 Starter K...
NextJS 13 Starter Kit for Planetscale & DrizzleORM - GitHub - joschan21/drizzle-planetscale-starter: NextJS 13 Starter Kit for Planetscale & DrizzleORM
1 Reply
?
when i go on safari the error updates to:
[Error] Fetch API cannot load https://undefined/psdb.v1alpha1.Database/Execute due to access control checks.
[Error] Failed to load resource: A server with the specified hostname could not be found. (Execute, line 0)