![]() Disallows all administrative requests over HTTPS. Disabled: Initiates the connection without TLS/SSL.Rejects the connection if SSL is not available. Enabled: Initiates the connection with TLS/SSL.If using the Direct Connection, this is Disabled. If using the Replica set option, this is Enabled. Default: Depends on Connection Type field.SSL Mode SSL can be used to secure the connection between the client and the server by encrypting all data that is transmitted between them. Password Provide the password required for authenticating connection requests for the given username to the database. Username Provide the username required for authenticating connection requests to the database. You cannot specify MONGODB-CR as the authentication mechanism when connecting to MongoDB 4.0+ deployments. MONGODB-CR: Uses a challenge-response protocol to authenticate users based on a combination of a password and a random challenge string.SCRAM-SHA-256: Uses the SHA-256 hashing algorithm for password storage.SCRAM-SHA-1: Provides secure password storage through the use of a salted hash function.If Default Database Name is unspecified, then Database Name defaults to admin.Īuthentication Type Specifies the authentication mechanism that MongoDB uses to authenticate the connection. If Database Name is unspecified, it defaults to the name specified in the Default Database Name field. By default, this database is admin, but you can specify a different database by using the Default Database Name parameter.ĭatabase Name Specifies the database name associated with the user's credentials. In MongoDB, when a user is authenticated, the authentication process checks the user's credentials against a specific database. Appsmith connects to port 27017 by default if you don't specify one.ĭefault Database Name Specifies the default authentication database to use when authenticating a user. Port The port number on which MongoDB listens for incoming connections. ![]() If you want to connect to a local MongoDB database, see Connect Local Database for directions on configuring the connection parameters. Host Address Specifies the server's IP address or domain name where MongoDB is running. To connect to a replica set deployment, you must specify each instance's hostname and port numbers. This configuration provides data redundancy and high data availability. Replicate Set: Enables you to connect to a group of connected instances that store the same set of data.Direct Connection: Enables you to connect to a single MongoDB instance.Read/Write: This mode permits both read-write operations by default.Ĭonnection Type Specifies whether to connect to a MongoDB instance or replica set deployment.Read Only: This mode permits only read-only operations by default.This field and the subsequent fields are visible only if you select No in the Use Mongo Connection String URI list. Connect MongoDB using multiple parameter fields Connection Mode Specifies the mode in which the Appsmith application can interact with the database. The following section lists the parameters to connect MongoDB by configuring multiple parameter fields instead of the Connection String URI format. See Connection String URI Format for details on how to specify the MongoDB connection string. This field is visible only if you select Yes in the Use Mongo Connection String URI list. No: Connect to MongoDB database by configuring multiple parameter fields.Ĭonnection String URI A MongoDB connection string URI (Uniform Resource Identifier) is a standardized way to specify the location and other details of a MongoDB database.Yes: Connect to MongoDB database using the Connection String URI format.Connect MongoDB using Connection String URI Use Mongo Connection String URI The following section is a reference guide that provides a complete description of all the parameters to connect to a MongoDB database. See How to whitelist IP addresses on MongoDB Atlas for more details. If you are a self-hosted user, you must whitelist the IP address of the Appsmith deployment 18.223.74.85 and 3.131.104.27 on your database instance or VPC before connecting to a database. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |