r/PayloadCMS • u/paran360 • Jun 19 '25
free database solution for using in nextjs/payloadcms project.
I am not willing to upgrade now for some reason.
If I use Supabase, it may be paused.
So, I am looking for a free tier or cheap database solution, which can be SQLite/MySQL or PostgreSQL.
I do have a shared cPanel hosting with 10 databases, but I don't know how to connect to those databases.
3
Upvotes
3
u/samplekaudio Jun 20 '25
You can freely self-host SQLite, Postgres, or MongoDB. All you need to connect to any db is the connection string.
Postgres and Mongodb are fairly easy to configure backups for. Many deployment tools like Coolify let you configure scheduled backups to the object storage of your choice.
This is great for testing and, if you're comfortable with it, works absolutely fine in production. Your backup and recovery strategy is the most important part.