connection error, fetch failed
not sure if this issue comes from drizzle or planetscale but I'm getting this error while trying to do any queries from my db while on local dev
5 Replies
tried to use this
but it's not working either
similar error but now also mentions drizzle
Did you ever solve this? Getting the same thing...
If anyone comes across this, I was using the PlanetScale driver when trying to connect to MySQL
Hey yes
Sorry man haven’t check discord in some days
The best solution is to use the HOST, USER, PASSWORD method to authenticate with drizzle
And only use the database url for db:push @KG
@Liltripple_reid thanks, very helpful! 🍻
I'm getting this error consistently as well, but i'm using planetscale's CLI to connect to a remote branch
pscale connect <DATABASE> <BRANCH>
which ideally, should provide a consistent connection of 127.0.0.1:3306
instead of copying and pasting different env variables. That said, I can get it to connect without this same error via both a URL connection or the HOST, USER, PASSWORD methods. Anyone else running into something similar?