Need help with database

I need help for my (almost finished website), since SQLite database wasn’t support, im having a hard time creating a database that can help users to save their accounts. Till now I still dont know where to get started on creating database, thats the only problem and remaining reason why it feels like I dont want to contnue my website on vercel. I even tryed to use Postgres but it causes serverless to crashed as always, am I using it wrong?. Any tips and help will truly make my day. I’m a free user.

Hey there, sorry to hear you’re having trouble with this. Could you explain more about what you’ve tried so far? What did you mean when you said it caused your serverless function to crash?

Happy to point you in the right direction if you’re able to share a bit more detail :slight_smile:

First of all, I really dont know how to use Vercel Portgres, only SQLite, I also dont have terminal where it uses bash, since I was using PyDroid 3 for testing my projects, thats why I wasnt able to follow the “Get Started” steps for Postgres, when I use SQLite database it was so easy to use, its working on PyDroid 3 when I tested it but when I add that database to my github, it crashes my serverless, I was looking forward on using Vercel Postgres because it might be solution to my problem, but I still don’t know how and whats the steps on using it.

Taking a quick look at your projects, I see a number of failed builds, which are different from serverless functions. Is this what you meant, or something else? Could you explain what you mean by it “crashed your serverless”?

Re: database trouble - Vercel Postgres is powered by Neon, and we don’t provide a Python SDK. However, it’s still compatible with many other database adapters. Neon publishes a document on how to access your database using the psycopg2 library, I think this may be what you need: Connect a Python application to Neon using Psycopg - Neon Docs

2 Likes

Thank you so much, it finally work, thanks for the neon docs, it helps alot!.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.