Back

How to connect Appwrite to Mongodv

  • 0
  • Self Hosted
  • Databases
Dai
11 May, 2023, 08:17

I see in doc https://appwrite.io/docs/databases#collection that we can config connect to Mongodb, but in https://appwrite.io/docs/environment-variables I do not see how to connect to other db beside MariaDB

TL;DR
The user wants to know how to connect Appwrite to MongoDB instead of MariaDB. Currently, there is no support for connecting Appwrite to other DB adapters. However, in the future, there may be an option to choose your adapter. The user is advised to upvote a feature request on GitHub for this functionality. As of now, there is no direct way to connect Appwrite to MongoDB. The documentation does not provide information on how to connect to other databases besides MariaDB.
Binyamin
11 May, 2023, 08:19

As of now there is no direct way to connect to mongodb

safwan
11 May, 2023, 08:19

As of now, there is no support for other DB adapters (as far as i know).

In the future though, you will ideally be able to choose your adapter. I think that's what was mentioned in the docs.

Binyamin
11 May, 2023, 08:20

If you want you can upvote this feature request https://github.com/appwrite/appwrite/issues/909

D5
11 May, 2023, 10:07

I think that should be updated into the documentation to highlight that currently it's not supported, but in a future

D5
11 May, 2023, 10:09

And just curious, what's the advantage of using mongodb instead of MariaDB?

D5
11 May, 2023, 10:09

Or why do you want to use it instead?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more