Skip to content

Commit 8ff5324

Browse files
authored
WIP: Document minimum versions of Postgres, MongoDB and Mysql (#30)
* WIP * Add versions
1 parent 97f351e commit 8ff5324

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

installation/database-setup.mdx

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ sidebarTitle: "Overview"
66

77
## <Icon icon="elephant" iconType="solid" size="24"/> Postgres
88

9+
<Check>
10+
**Version compatibility**: PowerSync requires Postgres version 11 or greater.
11+
</Check>
12+
913
Configuring your Postgres database with PowerSync generally involves three tasks:
1014

1115
* Enable logical replication
@@ -340,6 +344,10 @@ Notably, some "serverless Postgres" providers do not support logical replication
340344
This section is a work in progress. More details for MongoDB connections are coming soon. In the meantime, check our [MongoDB guide](/migration-guides/mongodb-atlas) to try out our MongoDB alpha support, and ask on our [Discord server](https://discord.gg/powersync) if you have any questions.
341345
</Info>
342346

347+
<Check>
348+
**Version compatibility**: PowerSync requires MongoDB version 6.0 or greater.
349+
</Check>
350+
343351
PowerSync requires the `find` and `changeStream` permissions on all databases and collections.
344352

345353
PowerSync also requires `createCollection`, `insert`, `update`, and `remove` permissions to the `_powersync_checkpoints` collection.
@@ -352,6 +360,10 @@ For MongoDB Atlas users, PowerSync requires `readWrite@mydb._powersync_checkpoin
352360
This section is a work in progress. More details for MySQL connections are coming soon. In the meantime, ask on our [Discord server](https://discord.gg/powersync) if you have any questions.
353361
</Info>
354362

363+
<Check>
364+
**Version compatibility**: PowerSync requires MySQL version 5.7 or greater.
365+
</Check>
366+
355367
MySQL connections use the [binary log](https://dev.mysql.com/doc/refman/8.4/en/binary-log.html) to replicate changes.
356368

357369
Generally, this requires the following config:
@@ -381,6 +393,6 @@ Next, connect PowerSync to your database:
381393

382394
[Database Connection](/installation/database-connection)
383395

384-
<Info>
396+
<Tip>
385397
**Self-hosting:** If you are self-hosting PowerSync, refer to [PowerSync Service Setup](/self-hosting/installation/powersync-service-setup) next.
386-
</Info>
398+
</Tip>

0 commit comments

Comments
 (0)