Skip to content

SQL Hosting

A website or application that stores data needs a database running somewhere it can reach. There are three broad ways to provide one, from the most hands-on to the least.

You install the database software, such as PostgreSQL or MySQL, on a server you control, and you look after it: updates, backups, security and capacity are all yours. It gives complete control and can be cheapest at scale, but it needs someone with the time and skill to run it well.

A cloud provider runs the database for you. You choose the database and a size, and the provider handles installation, updates, backups and failover. Amazon RDS and Google Cloud SQL offer PostgreSQL, MySQL and SQL Server; Microsoft Azure offers SQL Server as Azure SQL Database, with PostgreSQL and MySQL services alongside it. Neon and Supabase specialise in PostgreSQL, and Cloudflare D1 is built on SQLite.

For most new projects this is the sensible default: the database is ready in minutes, and the routine but critical work of backups and updates is no longer yours to forget.

Not every project needs a database server. SQLite runs inside the application itself, keeping the whole database in a single file. It suits desktop and mobile apps, small websites, tools and prototypes, though not sites with many people writing data at the same time.

Microsoft Access is in the same spirit, a database in a file, but is designed for desktop use within an office and is not suited to serving a website.

If you need Consider
a database for a typical website or web app a managed PostgreSQL or MySQL service
to fit into a Microsoft-based organisation SQL Server, on Azure or your own servers
a small app, a tool, or a prototype SQLite
full control, and have people to run it your own server

Whichever you choose, check three things before relying on it: that backups run automatically, that you have restored one at least once, and that the database is not open to the whole internet.