Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions installation/database-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ sidebarTitle: "Overview"

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

<Check>
**Version compatibility**: PowerSync requires Postgres version 11 or greater.
</Check>

Configuring your Postgres database with PowerSync generally involves three tasks:

* Enable logical replication
Expand Down Expand Up @@ -340,6 +344,10 @@ Notably, some "serverless Postgres" providers do not support logical replication
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.
</Info>

<Check>
**Version compatibility**: PowerSync requires MongoDB version 6.0 or greater.
</Check>

PowerSync requires the `find` and `changeStream` permissions on all databases and collections.

PowerSync also requires `createCollection`, `insert`, `update`, and `remove` permissions to the `_powersync_checkpoints` collection.
Expand All @@ -352,6 +360,10 @@ For MongoDB Atlas users, PowerSync requires `readWrite@mydb._powersync_checkpoin
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.
</Info>

<Check>
**Version compatibility**: PowerSync requires MySQL version 5.7 or greater.
</Check>

MySQL connections use the [binary log](https://dev.mysql.com/doc/refman/8.4/en/binary-log.html) to replicate changes.

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

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

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