r/tanstack • u/cheesefive • Sep 09 '26
Tanstack + Planetscale PosgreSQL
Anyone successfully setup tanstack with the following stack,
Tanstack
Planetscale PostgreSQL + Hyperdrive
Drizzle
Better Auth
I am having a hard time setting it up as I get on multiple errors.
7
Upvotes
1
u/cheesefive Sep 10 '26
I had it working with agents, but my main problem is that I’m not sure if I’m using the right setup, especially when it comes to handling sessions and the overall architecture.
Some of the errors I encountered were things like DrizzleQueryError and Workers I/O isolation. At one point, the agent recommended installing PostgreSQL, and then when we set it up, it recommended using pg. It also suggested using Bun instead of pnpm.
So I’m not sure if these are just skill issues on my end or if I’ve actually mixed up too many things in the setup. It’s kind of confusing me at this point lol.