In Exponential 6.0.14: six databases, in order of preference
- SQLite 3, the default. No database server at all; version 3.33 or later. Good for small and medium sites, development and single-server hosting. SQLite
- PostgreSQL 13 to 19, the recommended server. Tested on 13, 15, 18 and 19, with read replicas and cluster mode on any number of servers. PostgreSQL 18 and 19
- MongoDB 6.0 and later on PHP 8.2 or later, one server or a replica set. MongoDB
- MariaDB, the releases your vendor supports, with read replicas.
- Oracle 19c and later through the ezoracle driver, with read replicas and cluster mode. Oracle clustering
- MySQL, the releases your vendor supports; tested on MySQL 8.0.
New in Exponential 6.0.15: more than twenty site databases
Exponential 6.0.15 is on the main branch today, and its stable release is planned for Q4 2026. Each driver below installs a whole site, with the setup wizard, the exp:install command and the kickstarter, unless the entry says otherwise.
- Microsoft SQL Server and Azure SQL. SQL Server 2017, 2019, 2022 and 2025, Azure SQL Database and Managed Instance, with Always On read replicas and cluster mode; tested on PHP 8.1 to 8.5, and on LocalDB on Windows. SQL Server driver
- The MySQL protocol family. TiDB, Vitess and PlanetScale, and SingleStore run on the MySQL driver. MariaDB Xpand and Amazon Aurora MySQL have drivers and profiles, not yet measured on a live server.
- The PostgreSQL protocol family. CockroachDB 25.2 and YugabyteDB 2.25. Neon, Supabase and Amazon Aurora PostgreSQL run as hosted PostgreSQL with pooler and TLS settings, not yet run against a live account.
- Firebird 4.0 and 5.0 with PHP's pdo_firebird extension.
- DuckDB 1.5 and 2.0 through PHP FFI, for one web server; the setup wizard offers it where PHP allows FFI.
- IBM Db2 12.1 and IBM Informix 15 and 14.10.
- libSQL and Turso over libSQL's HTTP interface, or as a local file; several web servers can share one libSQL server. Turso's hosted service is not yet tested.
- MonetDB, a full site database with one writer at a time, over its own protocol in plain PHP.
- SAP HANA, a full site database over ODBC, tested on HANA express 2.00; the setup wizard offers it when SAP's HANA ODBC driver is installed. The SAP ASE driver is written but not yet tested against a server.
- Generic ODBC. A site on SQL Server, PostgreSQL, MariaDB and MySQL or Db2 through an ODBC driver, with DFS cluster mode on SQL Server and PostgreSQL.
Imports and data tables
Google Spanner (its PostgreSQL interface), Apache Cassandra and ScyllaDB, ClickHouse, Couchbase, Apache CouchDB and Microsoft Access are not site databases. Exponential 6.0.15 reads them as data table connections and imports their data into a site with commands such as exp:cassandra:import, exp:couchbase:import and exp:access:import.
Choosing one in the setup wizard
The setup wizard lists the databases whose PHP extension the server has. MariaDB / MySQL Improved, PostgreSQL, SQLite, MongoDB and Oracle come first; then Microsoft SQL Server, SQL Server over ODBC, Firebird and DuckDB; then the protocol families and every other driver. For MariaDB or MySQL, choose MariaDB / MySQL Improved.
One site, many servers
Cluster mode lets several application servers share one database and one shared folder. The cluster file handler has a metadata backend for PostgreSQL, MongoDB, MariaDB and MySQL and its protocol family, Oracle and SQL Server, and over ODBC; SQLite on one machine only. The newer drivers hold a whole site without a cluster backend so far. The database does not have to run on the same system as the web servers. Clustering in Exponential 6.0
Moving to another database
A site can move from one engine to another, for example from MySQL to PostgreSQL, with its content, users and settings. 7x does it for you as a fixed-price service, or you follow Moving off an old database.
Details
- Every database, release by release, with cluster and installer support: Databases on Exponential Network
- The full support matrix, versions, PHP extensions, settings, backups and limits: Database support
- Exponential 6.0.15 and Exponential on Windows