Skip to content

Commit 499b164

Browse files
tyler36GuySartorellirfay
authored
docs: improve database type and version visibility (ddev#5884) [skip ci]
Co-authored-by: Guy Sartorelli <[email protected]> Co-authored-by: tyler36 <[email protected]> Co-authored-by: Randy Fay <[email protected]>
1 parent fc50176 commit 499b164

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

docs/content/users/extend/database-types.md

+18-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22

33
DDEV supports many versions of the MariaDB, MySQL, and PostgreSQL database servers.
44

5-
The default database type is MariaDB, and the default version is currently 10.11, but you can use MariaDB versions 5.5-10.8 and 10.11, MySQL 5.5-8.0, and Postgres 9-16. (New LTS versions of each of these are typically added soon after release. The very old versions are kept for compatibility with older projects.)
5+
The following database types are currently supported:
6+
7+
- MariaDB 5.5-10.8 and 10.11
8+
- MySQL 5.5-8.0
9+
- Postgres 9-16
10+
11+
The default database type is MariaDB, and the default version is currently 10.11.
12+
New LTS versions of each of these are typically added soon after they are released. The very old versions are kept for compatibility with older projects.
613

714
You could set these using the [`ddev config`](../usage/commands.md#config) command like this:
815

@@ -46,3 +53,13 @@ Since the existing binary database may not be compatible with changes to your co
4653
- If you change the database type or version in an existing project, the existing database will not be compatible with your change, so you’ll want to use [`ddev export-db`](../usage/commands.md#export-db) to save a dump first.
4754
- When you change database type, destroy the existing database using [`ddev delete --omit-snapshot`](../usage/commands.md#delete) before changing, then after [`ddev start`](../usage/commands.md#start) use [`ddev import-db`](../usage/commands.md#import-db) to import the dump you saved.
4855
- Snapshots are always per database type and database version. So if you have snapshots from MariaDB 10.2 and you switch to MariaDB 10.5, don’t expect to be able to restore the old snapshot.
56+
57+
## Other databases types
58+
59+
Through add-ons, additional database types are also supported.
60+
The following official add-ons are available:
61+
62+
- [`ddev/ddev-mongo`](https://github.com/ddev/ddev-mongo)
63+
- [`ddev/ddev-sqlsrv`](https://github.com/ddev/ddev-sqlsrv)
64+
65+
Use `ddev get --list --all` to see a list of all add-ons, including additional community-supported database types.

0 commit comments

Comments
 (0)